Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 183.9 kB / 24.51 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2876/0.2876, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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)
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(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3")
translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002536/0.002536, allocations: 63.89 kB / 497.7 MB, free: 1.035 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4101, allocations: 64.28 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00327/0.4134, allocations: 1.672 MB / 0.5504 GB, free: 11.84 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003327/0.4137, allocations: 107.1 kB / 0.5505 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-05/0.4138, allocations: 1.281 kB / 0.5505 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 6.033e-05/0.4138, allocations: 17.27 kB / 0.5505 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.414, allocations: 45.06 kB / 0.5506 GB, free: 11.7 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.4141, allocations: 18.7 kB / 0.5506 GB, free: 11.68 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001853/0.4143, allocations: 138.8 kB / 0.5507 GB, free: 11.6 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.4144, allocations: 27.05 kB / 0.5508 GB, free: 11.58 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.4145, allocations: 47.58 kB / 0.5508 GB, free: 11.55 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.4146, allocations: 51.61 kB / 0.5509 GB, free: 11.52 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.4147, allocations: 8.656 kB / 0.5509 GB, free: 11.52 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.468e-05/0.4147, allocations: 9.875 kB / 0.5509 GB, free: 11.52 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.4147, allocations: 28.02 kB / 0.5509 GB, free: 11.5 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.4148, allocations: 56.95 kB / 0.551 GB, free: 11.46 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.415, allocations: 123.3 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.415, allocations: 1.438 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.813e-06/0.415, allocations: 0 / 0.5511 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.562e-06/0.415, allocations: 0 / 0.5511 GB, free: 11.38 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 28
 * Number of variables: 28
Notification: Performance of Generate backend data structure: time 0.000565/0.4156, allocations: 330.8 kB / 0.5514 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4156, allocations: 11.27 kB / 0.5514 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.4157, allocations: 18.44 kB / 0.5514 GB, free: 11.04 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.4159, allocations: 148.1 kB / 0.5516 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.4159, allocations: 12.33 kB / 0.5516 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.4159, allocations: 12.75 kB / 0.5516 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.4162, allocations: 134.2 kB / 0.5517 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4162, allocations: 2.531 kB / 0.5517 GB, free: 10.77 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.4162, allocations: 9.094 kB / 0.5517 GB, free: 10.76 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.4162, allocations: 2.5 kB / 0.5517 GB, free: 10.76 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.4164, allocations: 54.59 kB / 0.5518 GB, free: 10.74 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.4171, allocations: 495.4 kB / 0.5523 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.4173, allocations: 82.23 kB / 0.5523 GB, free: 10.21 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.4173, allocations: 29.05 kB / 0.5524 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.4174, allocations: 5.375 kB / 0.5524 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.4174, allocations: 36.03 kB / 0.5524 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.4174, allocations: 0 / 0.5524 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0005582/0.4179, allocations: 144.5 kB / 0.5525 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.418, allocations: 83.36 kB / 0.5526 GB, free: 9.941 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4181, allocations: 128.2 kB / 0.5527 GB, free: 9.82 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4181, allocations: 30.7 kB / 0.5528 GB, free: 9.785 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.4182, allocations: 117.2 kB / 0.5529 GB, free: 9.672 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.4183, allocations: 39.98 kB / 0.5529 GB, free: 9.637 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.4183, allocations: 31.44 kB / 0.5529 GB, free: 9.609 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002025/0.4185, allocations: 320.8 kB / 0.5533 GB, free: 9.289 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.702e-05/0.4186, allocations: 28.11 kB / 0.5533 GB, free: 9.273 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.4187, allocations: 82.8 kB / 0.5534 GB, free: 9.18 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.4188, allocations: 121.6 kB / 0.5535 GB, free: 9.062 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4188, allocations: 5.062 kB / 0.5535 GB, free: 9.059 MB / 398.1 MB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.000276/0.4191, allocations: 168.2 kB / 0.5536 GB, free: 8.945 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4191, allocations: 6.938 kB / 0.5536 GB, free: 8.945 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4191, allocations: 2.312 kB / 0.5536 GB, free: 8.945 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/0.4193, allocations: 42.52 kB / 0.5537 GB, free: 8.914 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.4194, allocations: 21.86 kB / 0.5537 GB, free: 8.91 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.4215, allocations: 2.539 MB / 0.5562 GB, free: 6.293 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.4216, allocations: 12.08 kB / 0.5562 GB, free: 6.285 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.4216, allocations: 6.594 kB / 0.5562 GB, free: 6.285 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * 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 (14):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.4217, allocations: 132.3 kB / 0.5563 GB, free: 6.152 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.4217, allocations: 7.922 kB / 0.5563 GB, free: 6.148 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.4218, allocations: 17.66 kB / 0.5564 GB, free: 6.125 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4218, allocations: 1.344 kB / 0.5564 GB, free: 6.125 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4218, allocations: 5.031 kB / 0.5564 GB, free: 6.121 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4218, allocations: 5.203 kB / 0.5564 GB, free: 6.117 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.4221, allocations: 171.3 kB / 0.5565 GB, free: 5.93 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4221, allocations: 3.938 kB / 0.5565 GB, free: 5.926 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.4222, allocations: 11.28 kB / 0.5565 GB, free: 5.926 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.4223, allocations: 33.08 kB / 0.5566 GB, free: 5.902 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.4223, allocations: 9.062 kB / 0.5566 GB, free: 5.895 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.4244, allocations: 2.525 MB / 0.5591 GB, free: 3.289 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4244, allocations: 1.375 kB / 0.5591 GB, free: 3.289 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.4248, allocations: 310.1 kB / 0.5594 GB, free: 3.012 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.4248, allocations: 15.67 kB / 0.5594 GB, free: 3 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.4248, allocations: 1.125 kB / 0.5594 GB, free: 3 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.4249, allocations: 4 kB / 0.5594 GB, free: 2.996 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.4249, allocations: 12.03 kB / 0.5594 GB, free: 2.988 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.4249, allocations: 6.234 kB / 0.5594 GB, free: 2.984 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 7.155e-05/0.425, allocations: 92.36 kB / 0.5595 GB, free: 2.902 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6.1e-08/0.425, allocations: 0 / 0.5595 GB, free: 2.902 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003789/0.4254, allocations: 40.05 kB / 0.5595 GB, free: 2.891 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.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 (6):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.4255, allocations: 99.97 kB / 0.5596 GB, free: 2.797 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.000555/0.4261, allocations: 305.5 kB / 0.5599 GB, free: 2.527 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4261, allocations: 0 / 0.5599 GB, free: 2.527 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.4264, allocations: 257.5 kB / 0.5601 GB, free: 2.281 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.4269, allocations: 30.41 kB / 0.5602 GB, free: 2.27 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009299/0.4279, allocations: 481.2 kB / 0.5606 GB, free: 1.871 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4283, allocations: 0.7066 MB / 0.5613 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 4.364e-05/0.4283, allocations: 9.625 kB / 0.5613 GB, free: 1.148 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.4283, allocations: 11 kB / 0.5613 GB, free: 1.141 MB / 398.1 MB
Notification: Performance of SimCode: time 2.81e-07/0.4283, allocations: 0 / 0.5613 GB, free: 1.141 MB / 398.1 MB
Notification: Performance of Templates: time 0.00528/0.4336, allocations: 1.591 MB / 0.5629 GB, free: 84 kB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.5948507552966475]