Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 108.8 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008597/0.0008599, allocations: 39.94 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2292, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004342/0.2336, allocations: 2.39 MB / 401.9 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2349, allocations: 0.5791 MB / 402.4 MB, free: 30.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.2353, allocations: 8 kB / 402.4 MB, free: 30.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.2356, allocations: 27.78 kB / 402.5 MB, free: 30.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.2359, allocations: 67.47 kB / 402.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.2362, allocations: 43.95 kB / 402.6 MB, free: 30.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.2367, allocations: 258.7 kB / 402.8 MB, free: 30 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.237, allocations: 91.25 kB / 402.9 MB, free: 29.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.2372, allocations: 95.62 kB / 403 MB, free: 29.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.2374, allocations: 107.5 kB / 403.1 MB, free: 29.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.2375, allocations: 16 kB / 403.1 MB, free: 29.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.571e-05/0.2375, allocations: 20 kB / 403.2 MB, free: 29.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.2376, allocations: 43.72 kB / 403.2 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2377, allocations: 123.4 kB / 403.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.238, allocations: 244.6 kB / 403.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.238, allocations: 4 kB / 403.6 MB, free: 29.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.238, allocations: 4 kB / 403.6 MB, free: 29.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.2381, allocations: 0 / 403.6 MB, free: 29.26 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008762/0.239, allocations: 0.5223 MB / 404.1 MB, free: 28.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.239, allocations: 8.031 kB / 404.1 MB, free: 28.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.132e-05/0.2391, allocations: 28.66 kB / 404.1 MB, free: 28.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.2395, allocations: 242.2 kB / 404.4 MB, free: 28.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2395, allocations: 16.81 kB / 404.4 MB, free: 28.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.2396, allocations: 28.28 kB / 404.4 MB, free: 28.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.24, allocations: 195.5 kB / 404.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.2401, allocations: 7.984 kB / 404.6 MB, free: 28.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.2401, allocations: 8 kB / 404.6 MB, free: 28.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.2401, allocations: 11.94 kB / 404.6 MB, free: 28.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.2405, allocations: 137.7 kB / 404.8 MB, free: 27.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.2417, allocations: 0.6268 MB / 405.4 MB, free: 27.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.2421, allocations: 183.4 kB / 405.6 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.2423, allocations: 96.83 kB / 405.7 MB, free: 27.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.2423, allocations: 4 kB / 405.7 MB, free: 27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.2424, allocations: 38.55 kB / 405.7 MB, free: 26.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.994e-06/0.2424, allocations: 0 / 405.7 MB, free: 26.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002207/0.2446, allocations: 1.083 MB / 406.8 MB, free: 25.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.2446, allocations: 55.34 kB / 406.8 MB, free: 25.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.2448, allocations: 184 kB / 407 MB, free: 25.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2449, allocations: 29.7 kB / 407 MB, free: 25.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.2449, allocations: 140.7 kB / 407.2 MB, free: 25.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.445e-05/0.245, allocations: 110.3 kB / 407.3 MB, free: 25.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.2451, allocations: 53.69 kB / 407.3 MB, free: 25.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.2452, allocations: 330.8 kB / 407.7 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.2454, allocations: 75.95 kB / 407.7 MB, free: 24.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.2456, allocations: 104.1 kB / 407.8 MB, free: 24.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.2461, allocations: 185.3 kB / 408 MB, free: 24.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2461, allocations: 0 / 408 MB, free: 24.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006871/0.2468, allocations: 306.2 kB / 408.3 MB, free: 24.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.2468, allocations: 4 kB / 408.3 MB, free: 24.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2468, allocations: 7.984 kB / 408.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.2471, allocations: 44.77 kB / 408.4 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.2474, allocations: 55.97 kB / 408.4 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.2489, allocations: 1.565 MB / 410 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.2491, allocations: 11.97 kB / 410 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.2491, allocations: 12.06 kB / 410 MB, free: 22.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.2493, allocations: 141.8 kB / 410.2 MB, free: 22.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.2493, allocations: 19.72 kB / 410.2 MB, free: 22.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.27e-05/0.2494, allocations: 34.58 kB / 410.2 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2494, allocations: 11.88 kB / 410.2 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2495, allocations: 0 / 410.2 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2495, allocations: 0 / 410.2 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.2508, allocations: 0.7781 MB / 411 MB, free: 21.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2508, allocations: 12.27 kB / 411 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.2512, allocations: 59.91 kB / 411.1 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/0.2514, allocations: 36.77 kB / 411.1 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.2514, allocations: 12 kB / 411.1 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.2525, allocations: 1.374 MB / 412.5 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2525, allocations: 0 / 412.5 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004552/0.2571, allocations: 3.457 MB / 415.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.2572, allocations: 100.8 kB / 416 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.2572, allocations: 4 kB / 416.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.2575, allocations: 8 kB / 416.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.2576, allocations: 28.02 kB / 416.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.2576, allocations: 15.98 kB / 416.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.2577, allocations: 131.5 kB / 416.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2578, allocations: 0 / 416.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007411/0.2585, allocations: 92 kB / 416.3 MB, free: 15.51 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.2587, allocations: 103.2 kB / 416.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007913/0.2595, allocations: 334.5 kB / 416.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2595, allocations: 4 kB / 416.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.2599, allocations: 239.5 kB / 417 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/0.2608, allocations: 48.22 kB / 417 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.263, allocations: 1.181 MB / 418.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.2633, allocations: 0.7645 MB / 419 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.2635, allocations: 26.27 kB / 419 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.2636, allocations: 23.44 kB / 419 MB, free: 12.68 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2636, allocations: 0 / 419 MB, free: 12.68 MB / 298.7 MB Notification: Performance of Templates: time 0.009735/0.2733, allocations: 3.078 MB / 422.1 MB, free: 9.621 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches