Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.001961/0.001961, allocations: 107.3 kB / 19.69 MB, free: 2.188 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.002153/0.002153, allocations: 185.3 kB / 22.98 MB, free: 5.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 207.6 MB / 233.7 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2307/0.2307, allocations: 44.24 MB / 330.2 MB, free: 9.562 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities")
translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 79.81 kB / 467.9 MB, free: 4.062 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1501, allocations: 61.03 MB / 0.5166 GB, free: 6.898 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003422/0.1535, allocations: 1.865 MB / 0.5184 GB, free: 5.02 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003736/0.1539, allocations: 151.4 kB / 0.5185 GB, free: 4.871 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.154, allocations: 4 kB / 0.5185 GB, free: 4.867 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 7.147e-05/0.1541, allocations: 23.73 kB / 0.5186 GB, free: 4.844 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1542, allocations: 55.55 kB / 0.5186 GB, free: 4.789 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.1544, allocations: 43.88 kB / 0.5187 GB, free: 4.746 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1546, allocations: 183.1 kB / 0.5188 GB, free: 4.566 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.1548, allocations: 45.7 kB / 0.5189 GB, free: 4.52 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1549, allocations: 67.78 kB / 0.5189 GB, free: 4.453 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.155, allocations: 75.64 kB / 0.519 GB, free: 4.379 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.155, allocations: 19.94 kB / 0.519 GB, free: 4.359 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.189e-05/0.1551, allocations: 12 kB / 0.519 GB, free: 4.348 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.1551, allocations: 31.91 kB / 0.5191 GB, free: 4.316 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1552, allocations: 87.61 kB / 0.5192 GB, free: 4.23 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.1555, allocations: 183.2 kB / 0.5193 GB, free: 4.051 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1555, allocations: 4 kB / 0.5193 GB, free: 4.047 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.693e-06/0.1555, allocations: 0 / 0.5193 GB, free: 4.047 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.572e-06/0.1555, allocations: 0 / 0.5193 GB, free: 4.047 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: 40
 * Number of variables: 40
Notification: Performance of Generate backend data structure: time 0.0006375/0.1561, allocations: 374 kB / 0.5197 GB, free: 3.645 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1561, allocations: 12.03 kB / 0.5197 GB, free: 3.633 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.1562, allocations: 28.73 kB / 0.5197 GB, free: 3.605 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.1564, allocations: 150.3 kB / 0.5199 GB, free: 3.434 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1564, allocations: 12.7 kB / 0.5199 GB, free: 3.422 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.1565, allocations: 16.38 kB / 0.5199 GB, free: 3.406 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.1568, allocations: 174.1 kB / 0.5201 GB, free: 3.227 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1568, allocations: 192 / 0.5201 GB, free: 3.227 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.1568, allocations: 11.94 kB / 0.5201 GB, free: 3.215 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1568, allocations: 4 kB / 0.5201 GB, free: 3.211 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.157, allocations: 87.95 kB / 0.5202 GB, free: 3.125 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.1579, allocations: 0.5539 MB / 0.5207 GB, free: 2.523 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.1581, allocations: 125.2 kB / 0.5208 GB, free: 2.383 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.1582, allocations: 45.7 kB / 0.5209 GB, free: 2.332 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1582, allocations: 4 kB / 0.5209 GB, free: 2.328 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1583, allocations: 42.69 kB / 0.5209 GB, free: 2.277 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.1583, allocations: 0 / 0.5209 GB, free: 2.277 MB / 398.1 MB
Notification: Performance of matching and sorting (n=14): time 0.0007778/0.159, allocations: 223.5 kB / 0.5211 GB, free: 2.047 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.1591, allocations: 77.11 kB / 0.5212 GB, free: 1.953 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1592, allocations: 131.5 kB / 0.5213 GB, free: 1.812 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1592, allocations: 29.64 kB / 0.5214 GB, free: 1.777 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.1593, allocations: 136.2 kB / 0.5215 GB, free: 1.641 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.1594, allocations: 63.47 kB / 0.5215 GB, free: 1.578 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.1595, allocations: 41.7 kB / 0.5216 GB, free: 1.531 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001664/0.1596, allocations: 322.8 kB / 0.5219 GB, free: 1.207 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.1597, allocations: 35.98 kB / 0.5219 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1598, allocations: 112.4 kB / 0.522 GB, free: 1.031 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.16, allocations: 152.6 kB / 0.5222 GB, free: 0.8516 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.16, allocations: 0 / 0.5222 GB, free: 0.8516 MB / 398.1 MB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003796/0.1604, allocations: 226.9 kB / 0.5224 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1604, allocations: 8.25 kB / 0.5224 GB, free: 0.6094 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1604, allocations: 4 kB / 0.5224 GB, free: 0.6055 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.1607, allocations: 53.62 kB / 0.5225 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1608, allocations: 31.98 kB / 0.5225 GB, free: 0.5156 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.1632, allocations: 2.783 MB / 0.5252 GB, free: 13.5 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.733e-05/0.1633, allocations: 19.84 kB / 0.5252 GB, free: 13.48 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.1633, allocations: 8 kB / 0.5252 GB, free: 13.48 MB / 414.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 (20):
 * Single equations (assignments): 18
 * 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,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.1635, allocations: 141.8 kB / 0.5254 GB, free: 13.33 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.1635, allocations: 11.95 kB / 0.5254 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.1636, allocations: 16.66 kB / 0.5254 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1636, allocations: 4 kB / 0.5254 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1636, allocations: 0 / 0.5254 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1636, allocations: 0 / 0.5254 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1639, allocations: 204.7 kB / 0.5256 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1639, allocations: 0 / 0.5256 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.164, allocations: 32.02 kB / 0.5256 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.1642, allocations: 49.64 kB / 0.5257 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1642, allocations: 7.938 kB / 0.5257 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/0.1665, allocations: 2.791 MB / 0.5284 GB, free: 9.941 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1665, allocations: 0 / 0.5284 GB, free: 9.941 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.167, allocations: 364.4 kB / 0.5288 GB, free: 9.562 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.167, allocations: 11.94 kB / 0.5288 GB, free: 9.551 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.167, allocations: 8.062 kB / 0.5288 GB, free: 9.543 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1671, allocations: 3.938 kB / 0.5288 GB, free: 9.539 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1672, allocations: 11.98 kB / 0.5288 GB, free: 9.527 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.1672, allocations: 4 kB / 0.5288 GB, free: 9.523 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 7.827e-05/0.1673, allocations: 107 kB / 0.5289 GB, free: 9.422 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1673, allocations: 0 / 0.5289 GB, free: 9.422 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.00047/0.1677, allocations: 59.89 kB / 0.5289 GB, free: 9.363 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w)
 * 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 (10):
 * Single equations (assignments): 8
 * 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,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.0001257/0.1679, allocations: 99.19 kB / 0.529 GB, free: 9.258 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006093/0.1685, allocations: 345.5 kB / 0.5294 GB, free: 8.895 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1685, allocations: 4.125 kB / 0.5294 GB, free: 8.891 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000337/0.1688, allocations: 281.3 kB / 0.5296 GB, free: 8.59 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.1693, allocations: 23.98 kB / 0.5297 GB, free: 8.566 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1704, allocations: 0.6561 MB / 0.5303 GB, free: 7.875 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1708, allocations: 0.7281 MB / 0.531 GB, free: 7.117 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.834e-05/0.1708, allocations: 13.8 kB / 0.531 GB, free: 7.102 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.1708, allocations: 11.44 kB / 0.531 GB, free: 7.094 MB / 414.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.1708, allocations: 0 / 0.531 GB, free: 7.094 MB / 414.1 MB
Notification: Performance of Templates: time 0.005632/0.1765, allocations: 2.06 MB / 0.5331 GB, free: 5.043 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.391503052785993]