Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001657/0.001657, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001927/0.001927, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 251.1 MB, free: 8.441 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.83 kB / 368.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2406, allocations: 53.31 MB / 422.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003164/0.2438, allocations: 2.005 MB / 424.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2449, allocations: 0.6974 MB / 425 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.2449, allocations: 0 / 425 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.2451, allocations: 19.8 kB / 425 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.2452, allocations: 39.64 kB / 425 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.2454, allocations: 55.78 kB / 425.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.2456, allocations: 143.3 kB / 425.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2457, allocations: 25.11 kB / 425.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.156e-05/0.2458, allocations: 55.73 kB / 425.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.2459, allocations: 63.75 kB / 425.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2459, allocations: 8 kB / 425.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.246, allocations: 27.98 kB / 425.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.246, allocations: 19.92 kB / 425.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.2461, allocations: 63.67 kB / 425.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.2463, allocations: 147 kB / 425.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2463, allocations: 0 / 425.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2463, allocations: 3.938 kB / 425.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2463, allocations: 0 / 425.6 MB, free: 4.461 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006697/0.247, allocations: 445.8 kB / 426 MB, free: 3.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.247, allocations: 8.031 kB / 426.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.2472, allocations: 28.86 kB / 426.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.2475, allocations: 204.1 kB / 426.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.2475, allocations: 12.36 kB / 426.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.2475, allocations: 16.38 kB / 426.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.2478, allocations: 121.4 kB / 426.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2479, allocations: 3.938 kB / 426.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.2479, allocations: 8 kB / 426.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2479, allocations: 0 / 426.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.2482, allocations: 87.94 kB / 426.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.2491, allocations: 0.5206 MB / 427 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.2494, allocations: 98.55 kB / 427.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.2495, allocations: 44.84 kB / 427.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.2496, allocations: 3.938 kB / 427.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.2496, allocations: 34.56 kB / 427.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.2496, allocations: 0 / 427.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004476/0.25, allocations: 145.7 kB / 427.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.2501, allocations: 55.41 kB / 427.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2502, allocations: 137.8 kB / 427.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.2502, allocations: 25.7 kB / 427.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.2503, allocations: 116.2 kB / 427.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.2503, allocations: 35.69 kB / 427.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.2504, allocations: 25.72 kB / 427.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2505, allocations: 318.8 kB / 428.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.2506, allocations: 43.97 kB / 428.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.2508, allocations: 63.41 kB / 428.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.251, allocations: 107.3 kB / 428.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.251, allocations: 4 kB / 428.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003187/0.2514, allocations: 153.4 kB / 428.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2514, allocations: 4 kB / 428.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2514, allocations: 4 kB / 428.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2514, allocations: 0 / 428.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.2515, allocations: 31.97 kB / 428.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2516, allocations: 4 kB / 428.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.2516, allocations: 12.03 kB / 428.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.2517, allocations: 11.98 kB / 428.5 MB, free: 1.316 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.473e-05/0.2518, allocations: 118.2 kB / 428.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.2518, allocations: 11.89 kB / 428.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.2518, allocations: 16.72 kB / 428.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2518, allocations: 0 / 428.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2518, allocations: 3.938 kB / 428.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2518, allocations: 4 kB / 428.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.2521, allocations: 217.4 kB / 428.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2521, allocations: 4 kB / 428.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.2523, allocations: 27.98 kB / 428.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2523, allocations: 4 kB / 428.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2523, allocations: 3.984 kB / 428.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2523, allocations: 0 / 428.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2523, allocations: 3.938 kB / 428.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.2528, allocations: 263.3 kB / 429.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.2528, allocations: 85.09 kB / 429.2 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.2528, allocations: 7.984 kB / 429.2 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.253, allocations: 8.031 kB / 429.3 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.253, allocations: 7.984 kB / 429.3 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.253, allocations: 4 kB / 429.3 MB, free: 452 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.043e-05/0.2531, allocations: 102.2 kB / 429.4 MB, free: 352 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2531, allocations: 0 / 429.4 MB, free: 352 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.2533, allocations: 31.95 kB / 429.4 MB, free: 320 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001031/0.2534, allocations: 99.25 kB / 429.5 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.2538, allocations: 87.88 kB / 429.6 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2538, allocations: 0 / 429.6 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.2539, allocations: 43.91 kB / 429.6 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.2542, allocations: 32.67 kB / 429.7 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008231/0.255, allocations: 478.9 kB / 430.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.2553, allocations: 0.7041 MB / 430.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.145e-05/0.2554, allocations: 12.55 kB / 430.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.2554, allocations: 11.44 kB / 430.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2554, allocations: 3.938 kB / 430.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Templates: time 0.004088/0.2595, allocations: 1.211 MB / 432.1 MB, free: 13.59 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches