Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.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.0018/0.0018, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002179/0.002179, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.3 MB / 258 MB, free: 8.199 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.251/0.251, allocations: 46.94 MB / 361.4 MB, free: 4.41 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed")
translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed") [Timeout 660]
"Warning: Requested package Modelica 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.002344/0.002344, allocations: 79.86 kB / 0.4971 GB, free: 7.547 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3771, allocations: 66.05 MB / 0.5616 GB, free: 4.539 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004329/0.3814, allocations: 2.649 MB / 0.5642 GB, free: 1.879 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001651/0.383, allocations: 0.7401 MB / 0.5649 GB, free: 1.133 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.3832, allocations: 15.88 kB / 0.565 GB, free: 1.117 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00022/0.3834, allocations: 43.52 kB / 0.565 GB, free: 1.074 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.3836, allocations: 83.2 kB / 0.5651 GB, free: 0.9922 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.3841, allocations: 103.8 kB / 0.5652 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004872/0.3846, allocations: 338.5 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.3848, allocations: 64.86 kB / 0.5656 GB, free: 500 kB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.3851, allocations: 139.5 kB / 0.5657 GB, free: 360 kB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.3853, allocations: 127.4 kB / 0.5658 GB, free: 232 kB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.3853, allocations: 24 kB / 0.5658 GB, free: 208 kB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.332e-05/0.3854, allocations: 31.94 kB / 0.5659 GB, free: 176 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.3855, allocations: 59.81 kB / 0.5659 GB, free: 116 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.3857, allocations: 139.3 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.3861, allocations: 318.3 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3861, allocations: 0 / 0.5664 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.603e-06/0.3861, allocations: 0 / 0.5664 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.543e-05/0.3861, allocations: 0 / 0.5664 GB, free: 15.66 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 60
 * Number of variables: 60
Notification: Performance of Generate backend data structure: time 0.001113/0.3873, allocations: 0.5245 MB / 0.5669 GB, free: 15.11 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3873, allocations: 12.03 kB / 0.5669 GB, free: 15.1 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.3876, allocations: 48.73 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.388, allocations: 213.9 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.3881, allocations: 20.88 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.3881, allocations: 32.31 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.3887, allocations: 281.4 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.3888, allocations: 7.953 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.3888, allocations: 8 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.3888, allocations: 12 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.3892, allocations: 195.7 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.3912, allocations: 1.227 MB / 0.5689 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.3917, allocations: 246.3 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.3919, allocations: 95.52 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.3919, allocations: 4 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.392, allocations: 38.56 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=26): time 1.262e-06/0.392, allocations: 0 / 0.5692 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of matching and sorting (n=32): time 0.002589/0.3946, allocations: 1.209 MB / 0.5704 GB, free: 11.17 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.3946, allocations: 132.5 kB / 0.5705 GB, free: 11.01 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3949, allocations: 229.1 kB / 0.5708 GB, free: 10.77 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.3949, allocations: 29.7 kB / 0.5708 GB, free: 10.74 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.395, allocations: 184.5 kB / 0.571 GB, free: 10.55 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.3952, allocations: 118.9 kB / 0.5711 GB, free: 10.44 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3953, allocations: 74.12 kB / 0.5712 GB, free: 10.36 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001988/0.3955, allocations: 342.8 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.3957, allocations: 100.8 kB / 0.5716 GB, free: 9.918 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.3961, allocations: 237.4 kB / 0.5718 GB, free: 9.629 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.3968, allocations: 373 kB / 0.5722 GB, free: 9.203 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3968, allocations: 4 kB / 0.5722 GB, free: 9.199 MB / 414.1 MB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007864/0.3976, allocations: 401.8 kB / 0.5725 GB, free: 8.801 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.3977, allocations: 8 kB / 0.5726 GB, free: 8.793 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.3977, allocations: 4 kB / 0.5726 GB, free: 8.789 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.041e-05/0.3977, allocations: 8 kB / 0.5726 GB, free: 8.781 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.3981, allocations: 95.81 kB / 0.5727 GB, free: 8.688 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.3981, allocations: 8.094 kB / 0.5727 GB, free: 8.68 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.3983, allocations: 31.92 kB / 0.5727 GB, free: 8.648 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.3984, allocations: 19.98 kB / 0.5727 GB, free: 8.629 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 20
 * 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 (48):
 * Single equations (assignments): 48
 * 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 0.0001689/0.3985, allocations: 157.7 kB / 0.5729 GB, free: 8.465 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.3986, allocations: 31.75 kB / 0.5729 GB, free: 8.434 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.321e-05/0.3987, allocations: 37.7 kB / 0.5729 GB, free: 8.395 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3987, allocations: 4 kB / 0.5729 GB, free: 8.391 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3987, allocations: 0 / 0.5729 GB, free: 8.391 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.3988, allocations: 4 kB / 0.5729 GB, free: 8.387 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.4003, allocations: 0.95 MB / 0.5739 GB, free: 7.379 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4003, allocations: 3.938 kB / 0.5739 GB, free: 7.375 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.4007, allocations: 84 kB / 0.574 GB, free: 7.293 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4007, allocations: 0 / 0.574 GB, free: 7.293 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.4007, allocations: 11.94 kB / 0.574 GB, free: 7.281 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4007, allocations: 7.938 kB / 0.574 GB, free: 7.273 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4007, allocations: 0 / 0.574 GB, free: 7.273 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.4018, allocations: 0.7345 MB / 0.5747 GB, free: 6.52 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.4018, allocations: 23.81 kB / 0.5747 GB, free: 6.496 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.4019, allocations: 12 kB / 0.5747 GB, free: 6.484 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.4022, allocations: 23.97 kB / 0.5747 GB, free: 6.461 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.4023, allocations: 31.89 kB / 0.5748 GB, free: 6.43 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.4023, allocations: 8 kB / 0.5748 GB, free: 6.422 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001773/0.4024, allocations: 160.5 kB / 0.5749 GB, free: 6.262 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.4024, allocations: 0 / 0.5749 GB, free: 6.262 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0004982/0.4029, allocations: 68 kB / 0.575 GB, free: 6.195 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi)
 * 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 (32):
 * Single equations (assignments): 32
 * 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.0001377/0.4031, allocations: 103.2 kB / 0.5751 GB, free: 6.086 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006755/0.4038, allocations: 276.3 kB / 0.5754 GB, free: 5.816 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.4038, allocations: 4.125 kB / 0.5754 GB, free: 5.812 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.4041, allocations: 119.8 kB / 0.5755 GB, free: 5.695 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/0.4047, allocations: 45.2 kB / 0.5755 GB, free: 5.656 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.4062, allocations: 0.8843 MB / 0.5764 GB, free: 4.73 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.4067, allocations: 0.7719 MB / 0.5771 GB, free: 3.926 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001409/0.4069, allocations: 38.94 kB / 0.5772 GB, free: 3.887 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.4069, allocations: 23.44 kB / 0.5772 GB, free: 3.863 MB / 414.1 MB
Notification: Performance of SimCode: time 6.31e-07/0.4069, allocations: 0 / 0.5772 GB, free: 3.863 MB / 414.1 MB
Notification: Performance of Templates: time 0.00692/0.4139, allocations: 2.66 MB / 0.5798 GB, free: 1.215 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.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: 5.338498901575804]