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 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001794/0.001794, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002087/0.002087, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 258.2 MB, free: 8.047 MB / 206.1 MB
"
[Timeout remaining time 178]
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]
"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.002002/0.002002, allocations: 68.77 kB / 379 MB, free: 2.656 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2639, allocations: 53.37 MB / 432.4 MB, free: 6.961 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003791/0.2677, allocations: 2.384 MB / 434.8 MB, free: 4.57 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001188/0.2689, allocations: 0.6622 MB / 435.4 MB, free: 3.902 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.269, allocations: 7.938 kB / 435.5 MB, free: 3.895 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.2691, allocations: 39.59 kB / 435.5 MB, free: 3.855 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.2693, allocations: 79.33 kB / 435.6 MB, free: 3.777 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.2695, allocations: 67.86 kB / 435.6 MB, free: 3.711 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003247/0.2699, allocations: 278.6 kB / 435.9 MB, free: 3.438 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.2701, allocations: 71.25 kB / 436 MB, free: 3.363 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.2703, allocations: 115.6 kB / 436.1 MB, free: 3.25 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.2704, allocations: 115.4 kB / 436.2 MB, free: 3.137 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.2705, allocations: 20 kB / 436.2 MB, free: 3.117 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.504e-05/0.2705, allocations: 28 kB / 436.3 MB, free: 3.09 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.2706, allocations: 55.77 kB / 436.3 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.2707, allocations: 119.4 kB / 436.4 MB, free: 2.918 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.271, allocations: 276.5 kB / 436.7 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.271, allocations: 0 / 436.7 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.332e-06/0.271, allocations: 4 kB / 436.7 MB, free: 2.652 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.602e-06/0.271, allocations: 0 / 436.7 MB, free: 2.652 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.0007378/0.2718, allocations: 461.5 kB / 437.1 MB, free: 2.172 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2718, allocations: 12.03 kB / 437.2 MB, free: 2.16 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.272, allocations: 40.73 kB / 437.2 MB, free: 2.121 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.2723, allocations: 182.8 kB / 437.4 MB, free: 1.914 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2723, allocations: 16.81 kB / 437.4 MB, free: 1.898 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.2724, allocations: 24.33 kB / 437.4 MB, free: 1.875 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.2728, allocations: 195.6 kB / 437.6 MB, free: 1.68 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2728, allocations: 0 / 437.6 MB, free: 1.68 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.2728, allocations: 23.86 kB / 437.6 MB, free: 1.656 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2728, allocations: 4 kB / 437.6 MB, free: 1.652 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.2731, allocations: 141.7 kB / 437.8 MB, free: 1.512 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009824/0.2741, allocations: 0.591 MB / 438.4 MB, free: 0.8789 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.2744, allocations: 162.6 kB / 438.5 MB, free: 0.7109 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.2746, allocations: 99.61 kB / 438.6 MB, free: 0.6133 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.2746, allocations: 4 kB / 438.6 MB, free: 0.6094 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2746, allocations: 34.56 kB / 438.7 MB, free: 0.5664 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=24): time 1.282e-06/0.2746, allocations: 0 / 438.7 MB, free: 0.5664 MB / 334.1 MB
Notification: Performance of matching and sorting (n=32): time 0.001898/0.2765, allocations: 0.9297 MB / 439.6 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.2765, allocations: 59.34 kB / 439.6 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.2767, allocations: 183.8 kB / 439.8 MB, free: 15.32 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2768, allocations: 29.7 kB / 439.9 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.2769, allocations: 140.9 kB / 440 MB, free: 15.15 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.277, allocations: 126.9 kB / 440.1 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.277, allocations: 49.7 kB / 440.2 MB, free: 14.97 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001558/0.2772, allocations: 338.8 kB / 440.5 MB, free: 14.63 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.2773, allocations: 63.97 kB / 440.6 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2775, allocations: 111.2 kB / 440.7 MB, free: 14.45 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.2779, allocations: 196.1 kB / 440.9 MB, free: 14.25 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.2779, allocations: 0 / 440.9 MB, free: 14.25 MB / 350.1 MB
Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005167/0.2784, allocations: 287.3 kB / 441.1 MB, free: 13.96 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2784, allocations: 4 kB / 441.1 MB, free: 13.96 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.2784, allocations: 3.938 kB / 441.1 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.2786, allocations: 48.83 kB / 441.2 MB, free: 13.9 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.2788, allocations: 59.97 kB / 441.3 MB, free: 13.84 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.2804, allocations: 1.629 MB / 442.9 MB, free: 12.11 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.2805, allocations: 20.02 kB / 442.9 MB, free: 12.09 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.2805, allocations: 8 kB / 442.9 MB, free: 12.08 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.0001388/0.2807, allocations: 141.8 kB / 443 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.2807, allocations: 23.8 kB / 443.1 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.2808, allocations: 30.72 kB / 443.1 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2808, allocations: 4 kB / 443.1 MB, free: 11.87 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2808, allocations: 3.984 kB / 443.1 MB, free: 11.87 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2808, allocations: 7.938 kB / 443.1 MB, free: 11.86 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.2819, allocations: 0.754 MB / 443.9 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2819, allocations: 0 / 443.9 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.2822, allocations: 59.91 kB / 443.9 MB, free: 10.98 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.2823, allocations: 36.83 kB / 444 MB, free: 10.94 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.2823, allocations: 11.98 kB / 444 MB, free: 10.93 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.2835, allocations: 1.381 MB / 445.4 MB, free: 9.426 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2835, allocations: 0 / 445.4 MB, free: 9.426 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007114/0.2843, allocations: 494.9 kB / 445.8 MB, free: 8.914 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.2843, allocations: 15.86 kB / 445.9 MB, free: 8.898 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.2843, allocations: 8 kB / 445.9 MB, free: 8.891 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.2845, allocations: 12 kB / 445.9 MB, free: 8.879 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.2845, allocations: 23.95 kB / 445.9 MB, free: 8.855 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2845, allocations: 12 kB / 445.9 MB, free: 8.844 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001106/0.2847, allocations: 132.4 kB / 446 MB, free: 8.715 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.2847, allocations: 0 / 446 MB, free: 8.715 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003645/0.285, allocations: 68 kB / 446.1 MB, free: 8.648 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.0001102/0.2851, allocations: 99.19 kB / 446.2 MB, free: 8.543 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006189/0.2857, allocations: 342.6 kB / 446.5 MB, free: 8.195 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2857, allocations: 0 / 446.5 MB, free: 8.195 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.2861, allocations: 230.5 kB / 446.8 MB, free: 7.957 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.2865, allocations: 56.22 kB / 446.8 MB, free: 7.902 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.2878, allocations: 0.7376 MB / 447.6 MB, free: 7.125 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.2882, allocations: 0.7486 MB / 448.3 MB, free: 6.352 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 8.652e-05/0.2883, allocations: 30.28 kB / 448.3 MB, free: 6.32 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.2884, allocations: 19.44 kB / 448.4 MB, free: 6.305 MB / 350.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.2884, allocations: 3.938 kB / 448.4 MB, free: 6.301 MB / 350.1 MB
Notification: Performance of Templates: time 0.006991/0.2953, allocations: 2.895 MB / 451.3 MB, free: 3.422 MB / 350.1 MB
"
[Timeout remaining time 660]
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]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.61402902379632]