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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 108.5 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 188 kB / 18 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 43.92 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2626, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003416/0.2661, allocations: 2.365 MB / 403.1 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.2671, allocations: 0.5687 MB / 403.6 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.2673, allocations: 8 kB / 403.7 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.2674, allocations: 35.66 kB / 403.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.2677, allocations: 79.27 kB / 403.8 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.2679, allocations: 59.91 kB / 403.8 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.2682, allocations: 266.7 kB / 404.1 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.2685, allocations: 110.7 kB / 404.2 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.2687, allocations: 103.6 kB / 404.3 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2689, allocations: 123.4 kB / 404.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.269, allocations: 20 kB / 404.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.269, allocations: 20 kB / 404.5 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.2691, allocations: 47.84 kB / 404.5 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.2692, allocations: 115.4 kB / 404.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.2696, allocations: 268.2 kB / 404.9 MB, free: 4.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2696, allocations: 0 / 404.9 MB, free: 4.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.928e-06/0.2696, allocations: 0 / 404.9 MB, free: 4.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.2696, allocations: 7.938 kB / 404.9 MB, free: 4.715 MB / 318.1 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.0009119/0.2705, allocations: 0.5185 MB / 405.4 MB, free: 4.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2706, allocations: 15.89 kB / 405.4 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.2707, allocations: 28.56 kB / 405.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.271, allocations: 241.3 kB / 405.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.2711, allocations: 20.81 kB / 405.7 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.2711, allocations: 28.36 kB / 405.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.2715, allocations: 199.5 kB / 405.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2715, allocations: 7.906 kB / 405.9 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.2716, allocations: 4 kB / 405.9 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2716, allocations: 8 kB / 405.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.2719, allocations: 137.7 kB / 406.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.2729, allocations: 0.6268 MB / 406.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.2732, allocations: 178.6 kB / 406.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2734, allocations: 96.83 kB / 407 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.2734, allocations: 4 kB / 407 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.2734, allocations: 34.56 kB / 407 MB, free: 2.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.2735, allocations: 0 / 407 MB, free: 2.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001823/0.2753, allocations: 1.079 MB / 408.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.2753, allocations: 55.34 kB / 408.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.2755, allocations: 184 kB / 408.3 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2755, allocations: 29.7 kB / 408.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.2756, allocations: 144.6 kB / 408.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.2757, allocations: 106.4 kB / 408.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.2758, allocations: 53.61 kB / 408.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2759, allocations: 334.8 kB / 409 MB, free: 316 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.276, allocations: 67.97 kB / 409 MB, free: 248 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.2762, allocations: 111.6 kB / 409.2 MB, free: 128 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.2765, allocations: 197.4 kB / 409.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2765, allocations: 0 / 409.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005103/0.2771, allocations: 302.2 kB / 409.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2771, allocations: 6.656 kB / 409.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2771, allocations: 4 kB / 409.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.2773, allocations: 40.83 kB / 409.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.2775, allocations: 63.84 kB / 409.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.279, allocations: 1.74 MB / 411.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.2791, allocations: 20.06 kB / 411.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.2791, allocations: 4 kB / 411.5 MB, free: 13.61 MB / 334.1 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.0001201/0.2793, allocations: 145.8 kB / 411.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.2793, allocations: 27.66 kB / 411.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.2794, allocations: 26.66 kB / 411.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2794, allocations: 4 kB / 411.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2794, allocations: 0 / 411.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2794, allocations: 3.984 kB / 411.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2805, allocations: 0.7737 MB / 412.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2805, allocations: 4 kB / 412.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.2807, allocations: 55.91 kB / 412.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.2809, allocations: 32.94 kB / 412.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.2809, allocations: 15.92 kB / 412.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.2821, allocations: 1.489 MB / 414.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2821, allocations: 0 / 414.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.2827, allocations: 482.5 kB / 414.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.2828, allocations: 96.83 kB / 414.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.2828, allocations: 4 kB / 414.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.283, allocations: 12.03 kB / 414.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.2831, allocations: 27.97 kB / 414.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2831, allocations: 8 kB / 414.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.711e-05/0.2832, allocations: 131.2 kB / 414.8 MB, free: 10 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2832, allocations: 0 / 414.8 MB, free: 10 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003689/0.2836, allocations: 68 kB / 414.9 MB, free: 9.934 MB / 334.1 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.0001183/0.2837, allocations: 115 kB / 415 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005691/0.2843, allocations: 339.7 kB / 415.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2843, allocations: 0 / 415.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.2846, allocations: 238.4 kB / 415.6 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.2851, allocations: 51.91 kB / 415.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.2863, allocations: 0.7201 MB / 416.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.2865, allocations: 0.7563 MB / 417.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.799e-05/0.2866, allocations: 22.3 kB / 417.1 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.2867, allocations: 23.42 kB / 417.1 MB, free: 7.594 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2867, allocations: 4 kB / 417.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of Templates: time 0.006273/0.293, allocations: 2.711 MB / 419.9 MB, free: 4.895 MB / 334.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches