Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.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.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, 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.00132/0.00132, 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.448/1.448, allocations: 230.4 MB / 251.1 MB, free: 8.43 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.001906/0.001906, allocations: 63.84 kB / 368.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2649, allocations: 53.32 MB / 422.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004178/0.269, allocations: 2.374 MB / 424.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2703, allocations: 0.6621 MB / 425.3 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.2704, allocations: 8 kB / 425.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.2706, allocations: 35.59 kB / 425.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.2708, allocations: 79.33 kB / 425.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.271, allocations: 59.86 kB / 425.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.2714, allocations: 278.6 kB / 425.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.2715, allocations: 74.77 kB / 425.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.2718, allocations: 115.6 kB / 425.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.2719, allocations: 111.5 kB / 426 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.272, allocations: 20 kB / 426.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.185e-05/0.272, allocations: 35.98 kB / 426.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.2721, allocations: 51.78 kB / 426.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.2722, allocations: 119.4 kB / 426.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.2725, allocations: 270.2 kB / 426.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2725, allocations: 4 kB / 426.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2725, allocations: 0 / 426.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.2726, allocations: 4 kB / 426.5 MB, free: 3.52 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007714/0.2733, allocations: 0.525 MB / 427.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2734, allocations: 8.922 kB / 427.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.2735, allocations: 40.73 kB / 427.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.2739, allocations: 248.7 kB / 427.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2739, allocations: 20.81 kB / 427.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.274, allocations: 24.33 kB / 427.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.2744, allocations: 203.5 kB / 427.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2744, allocations: 0 / 427.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.2744, allocations: 8 kB / 427.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2744, allocations: 4 kB / 427.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.2747, allocations: 141.7 kB / 427.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.2757, allocations: 0.6232 MB / 428.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.276, allocations: 170.5 kB / 428.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.2762, allocations: 84.83 kB / 428.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.2762, allocations: 7.938 kB / 428.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.2763, allocations: 34.56 kB / 428.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.182e-06/0.2763, allocations: 0 / 428.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001968/0.2782, allocations: 1.086 MB / 429.7 MB, free: 60 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.2783, allocations: 59.34 kB / 429.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.2785, allocations: 182.9 kB / 430 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.2785, allocations: 33.7 kB / 430 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.2786, allocations: 136.9 kB / 430.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/0.2787, allocations: 119 kB / 430.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.418e-05/0.2788, allocations: 57.69 kB / 430.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2789, allocations: 326.8 kB / 430.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2791, allocations: 75.95 kB / 430.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.2792, allocations: 106.8 kB / 430.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.2796, allocations: 189 kB / 431 MB, free: 14.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2796, allocations: 0 / 431 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005094/0.2801, allocations: 295.2 kB / 431.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.2801, allocations: 8 kB / 431.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2801, allocations: 0 / 431.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.2803, allocations: 44.81 kB / 431.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.2806, allocations: 63.91 kB / 431.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.2822, allocations: 1.737 MB / 433.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.2823, allocations: 8.031 kB / 433.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2824, allocations: 8.062 kB / 433.2 MB, free: 12.43 MB / 350.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.0001506/0.2825, allocations: 145.8 kB / 433.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.2826, allocations: 27.8 kB / 433.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.652e-05/0.2826, allocations: 26.66 kB / 433.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2826, allocations: 4 kB / 433.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2826, allocations: 0 / 433.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.2826, allocations: 3.984 kB / 433.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.2838, allocations: 0.7893 MB / 434.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2838, allocations: 0 / 434.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.2841, allocations: 59.84 kB / 434.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001268/0.2842, allocations: 44.92 kB / 434.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.2842, allocations: 4 kB / 434.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.2856, allocations: 1.485 MB / 435.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2856, allocations: 4.031 kB / 435.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.2863, allocations: 482.6 kB / 436.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.2863, allocations: 101 kB / 436.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.2864, allocations: 4 kB / 436.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2865, allocations: 12 kB / 436.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.18e-05/0.2866, allocations: 23.97 kB / 436.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.2866, allocations: 12 kB / 436.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.2867, allocations: 140.2 kB / 436.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2867, allocations: 4 kB / 436.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.2871, allocations: 68 kB / 436.6 MB, free: 8.73 MB / 350.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.000152/0.2873, allocations: 103.2 kB / 436.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006142/0.2879, allocations: 330.4 kB / 437 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.2879, allocations: 4 kB / 437 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.2882, allocations: 238.6 kB / 437.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.2886, allocations: 39.92 kB / 437.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.29, allocations: 0.7423 MB / 438 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.2903, allocations: 0.7564 MB / 438.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.845e-05/0.2904, allocations: 26.27 kB / 438.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.2905, allocations: 23.44 kB / 438.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2905, allocations: 0 / 438.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of Templates: time 0.006964/0.2974, allocations: 2.783 MB / 441.6 MB, free: 3.621 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches