Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001466/0.001466, allocations: 108.8 kB / 21.23 MB, free: 0.6602 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.001607/0.001607, allocations: 187.4 kB / 24.51 MB, free: 4.031 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.49/1.49, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2994/0.2994, allocations: 44.92 MB / 353.5 MB, free: 11.81 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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia")
translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.89 kB / 497.7 MB, free: 1 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4217, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00513/0.4268, allocations: 3.096 MB / 0.5518 GB, free: 10.7 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001504/0.4283, allocations: 418.8 kB / 0.5522 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.4286, allocations: 11.66 kB / 0.5522 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.4288, allocations: 62.81 kB / 0.5523 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.4292, allocations: 165.9 kB / 0.5525 GB, free: 10.14 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.4295, allocations: 102.8 kB / 0.5526 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007184/0.4302, allocations: 0.5437 MB / 0.5531 GB, free: 9.715 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.4305, allocations: 113.3 kB / 0.5532 GB, free: 9.645 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.4308, allocations: 214.5 kB / 0.5534 GB, free: 9.531 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.4311, allocations: 217.9 kB / 0.5536 GB, free: 9.387 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.504e-05/0.4312, allocations: 40.94 kB / 0.5536 GB, free: 9.387 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.4313, allocations: 41.09 kB / 0.5537 GB, free: 9.387 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.983e-05/0.4314, allocations: 92.81 kB / 0.5538 GB, free: 9.309 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.4317, allocations: 244.2 kB / 0.554 GB, free: 9.16 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006801/0.4324, allocations: 0.5294 MB / 0.5545 GB, free: 8.781 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4324, allocations: 1.156 kB / 0.5545 GB, free: 8.781 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.213e-06/0.4324, allocations: 3.938 kB / 0.5545 GB, free: 8.777 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.434e-05/0.4324, allocations: 0 / 0.5545 GB, free: 8.777 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: 118
 * Number of variables: 118
Notification: Performance of Generate backend data structure: time 0.001228/0.4336, allocations: 0.652 MB / 0.5552 GB, free: 8.238 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4337, allocations: 10.05 kB / 0.5552 GB, free: 8.238 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.4338, allocations: 63.45 kB / 0.5552 GB, free: 8.203 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.4341, allocations: 230.5 kB / 0.5555 GB, free: 7.984 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.4342, allocations: 36.47 kB / 0.5555 GB, free: 7.969 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.4343, allocations: 52.02 kB / 0.5555 GB, free: 7.949 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/0.4352, allocations: 465.3 kB / 0.556 GB, free: 7.629 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.4352, allocations: 8.641 kB / 0.556 GB, free: 7.625 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.324e-05/0.4353, allocations: 24.47 kB / 0.556 GB, free: 7.605 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.4353, allocations: 11.84 kB / 0.556 GB, free: 7.605 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.4358, allocations: 255.1 kB / 0.5563 GB, free: 7.488 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.4387, allocations: 1.649 MB / 0.5579 GB, free: 5.961 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.4395, allocations: 403.9 kB / 0.5583 GB, free: 5.484 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.4397, allocations: 151.6 kB / 0.5584 GB, free: 5.309 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.4398, allocations: 7.984 kB / 0.5584 GB, free: 5.301 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.518e-05/0.4398, allocations: 46.44 kB / 0.5585 GB, free: 5.246 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=42): time 2.895e-06/0.4398, allocations: 8 kB / 0.5585 GB, free: 5.238 MB / 398.1 MB
Notification: Performance of matching and sorting (n=42): time 0.0009367/0.4408, allocations: 349.3 kB / 0.5588 GB, free: 4.891 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002248/0.441, allocations: 272.9 kB / 0.5591 GB, free: 4.562 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.4414, allocations: 254.1 kB / 0.5593 GB, free: 4.305 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.4414, allocations: 29.7 kB / 0.5593 GB, free: 4.27 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.4416, allocations: 256.7 kB / 0.5596 GB, free: 4.016 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.4418, allocations: 190.4 kB / 0.5598 GB, free: 3.828 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.442, allocations: 110.6 kB / 0.5599 GB, free: 3.715 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002738/0.4423, allocations: 354.8 kB / 0.5602 GB, free: 3.359 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.4425, allocations: 118 kB / 0.5603 GB, free: 3.242 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.443, allocations: 414.1 kB / 0.5607 GB, free: 2.695 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/0.4438, allocations: 0.5771 MB / 0.5613 GB, free: 1.98 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.4438, allocations: 4 kB / 0.5613 GB, free: 1.977 MB / 398.1 MB
Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009172/0.4447, allocations: 0.5679 MB / 0.5618 GB, free: 1.402 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4448, allocations: 8 kB / 0.5618 GB, free: 1.395 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.4448, allocations: 20.03 kB / 0.5619 GB, free: 1.375 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/0.4448, allocations: 12 kB / 0.5619 GB, free: 1.363 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.4454, allocations: 179.7 kB / 0.562 GB, free: 1.188 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/0.4454, allocations: 19.94 kB / 0.5621 GB, free: 1.168 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.4458, allocations: 71.5 kB / 0.5621 GB, free: 1.098 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.4458, allocations: 32 kB / 0.5622 GB, free: 1.066 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 45
 * 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 (86):
 * Single equations (assignments): 86
 * 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.000289/0.4461, allocations: 185.5 kB / 0.5623 GB, free: 0.875 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.4463, allocations: 35.81 kB / 0.5624 GB, free: 0.8398 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.4464, allocations: 45.7 kB / 0.5624 GB, free: 0.793 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.4464, allocations: 11.94 kB / 0.5624 GB, free: 0.7812 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.4464, allocations: 0 / 0.5624 GB, free: 0.7812 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4465, allocations: 7.984 kB / 0.5624 GB, free: 0.7734 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.4476, allocations: 392.2 kB / 0.5628 GB, free: 356 kB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4476, allocations: 0 / 0.5628 GB, free: 356 kB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.4482, allocations: 127.8 kB / 0.5629 GB, free: 228 kB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.4482, allocations: 4 kB / 0.5629 GB, free: 224 kB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/0.4483, allocations: 19.98 kB / 0.563 GB, free: 204 kB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.4483, allocations: 8.062 kB / 0.563 GB, free: 196 kB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4483, allocations: 4 kB / 0.563 GB, free: 192 kB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.4493, allocations: 1.092 MB / 0.564 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.4494, allocations: 31.75 kB / 0.5641 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.4494, allocations: 15.98 kB / 0.5641 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.4498, allocations: 11.94 kB / 0.5641 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.4499, allocations: 35.88 kB / 0.5641 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.4499, allocations: 12 kB / 0.5641 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001722/0.4501, allocations: 177.2 kB / 0.5643 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4501, allocations: 4 kB / 0.5643 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0008946/0.451, allocations: 135.8 kB / 0.5644 GB, free: 14.66 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 9
 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42):
 * Single equations (assignments): 42
 * 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.0001962/0.4512, allocations: 111.1 kB / 0.5645 GB, free: 14.54 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005984/0.4518, allocations: 328.4 kB / 0.5649 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.4518, allocations: 0 / 0.5649 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.452, allocations: 122.3 kB / 0.565 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.4532, allocations: 97.02 kB / 0.5651 GB, free: 14.01 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.4563, allocations: 1.996 MB / 0.567 GB, free: 11.96 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.4568, allocations: 0.8274 MB / 0.5678 GB, free: 11.11 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001844/0.457, allocations: 48.16 kB / 0.5679 GB, free: 11.05 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.4571, allocations: 39.31 kB / 0.5679 GB, free: 11.02 MB / 414.1 MB
Notification: Performance of SimCode: time 6.61e-07/0.4571, allocations: 0 / 0.5679 GB, free: 11.02 MB / 414.1 MB
Notification: Performance of Templates: time 0.01018/0.4672, allocations: 4.531 MB / 0.5723 GB, free: 6.523 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.799007803201675]