Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 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 0.9686/0.9686, allocations: 158.6 MB / 186 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] 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.1319/0.1319, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 299.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.627e-05, allocations: 2.312 kB / 299.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.1469/0.1469, allocations: 2.803 MB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1483, allocations: 0.7545 MB / 302.6 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.1485, allocations: 11.12 kB / 302.6 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.1487, allocations: 51.45 kB / 302.7 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1489, allocations: 139.5 kB / 302.8 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.1492, allocations: 93.34 kB / 302.9 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.1496, allocations: 453 kB / 303.3 MB, free: 18.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.1498, allocations: 94.19 kB / 303.4 MB, free: 18.89 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.1501, allocations: 258.2 kB / 303.7 MB, free: 18.8 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1503, allocations: 132 kB / 303.8 MB, free: 18.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.1504, allocations: 35.47 kB / 303.9 MB, free: 18.76 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.1504, allocations: 34.19 kB / 303.9 MB, free: 18.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.1505, allocations: 75.48 kB / 304 MB, free: 18.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1506, allocations: 143.2 kB / 304.1 MB, free: 18.65 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.1509, allocations: 283.4 kB / 304.4 MB, free: 18.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1509, allocations: 2.25 kB / 304.4 MB, free: 18.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1509, allocations: 0.6562 kB / 304.4 MB, free: 18.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1509, allocations: 0 / 304.4 MB, free: 18.52 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006118/0.1515, allocations: 0.5544 MB / 304.9 MB, free: 18.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1516, allocations: 9.781 kB / 304.9 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.539e-05/0.1516, allocations: 59.52 kB / 305 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.1519, allocations: 192.3 kB / 305.2 MB, free: 17.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.1519, allocations: 28.95 kB / 305.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.1519, allocations: 46.52 kB / 305.3 MB, free: 17.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.1523, allocations: 322.4 kB / 305.6 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1523, allocations: 9.812 kB / 305.6 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1523, allocations: 16.91 kB / 305.6 MB, free: 17.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1523, allocations: 13.19 kB / 305.6 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1525, allocations: 111.7 kB / 305.7 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1538, allocations: 1.448 MB / 307.2 MB, free: 16.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.154, allocations: 204 kB / 307.4 MB, free: 16.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.154, allocations: 73.59 kB / 307.4 MB, free: 16.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1541, allocations: 10.89 kB / 307.5 MB, free: 16.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1541, allocations: 43.47 kB / 307.5 MB, free: 16.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.1541, allocations: 1.188 kB / 307.5 MB, free: 16.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003098/0.1544, allocations: 162.9 kB / 307.7 MB, free: 16.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1544, allocations: 211.5 kB / 307.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1546, allocations: 260.5 kB / 308.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1546, allocations: 31.14 kB / 308.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.1547, allocations: 238.7 kB / 308.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.149e-05/0.1548, allocations: 128.6 kB / 308.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.1548, allocations: 100.2 kB / 308.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.1549, allocations: 349.4 kB / 308.9 MB, free: 15 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.155, allocations: 40.5 kB / 309 MB, free: 15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.1551, allocations: 374.9 kB / 309.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1555, allocations: 493.4 kB / 309.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.1555, allocations: 5.094 kB / 309.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004141/0.1559, allocations: 382.8 kB / 310.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1559, allocations: 9.25 kB / 310.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.1559, allocations: 12.41 kB / 310.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.1559, allocations: 15.97 kB / 310.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.1562, allocations: 144.7 kB / 310.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.1562, allocations: 25.34 kB / 310.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.1564, allocations: 67.36 kB / 310.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.1564, allocations: 33.19 kB / 310.5 MB, free: 13.86 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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 8.707e-05/0.1565, allocations: 152 kB / 310.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.1566, allocations: 32.31 kB / 310.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.1566, allocations: 33.23 kB / 310.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1566, allocations: 5.328 kB / 310.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1566, allocations: 3.531 kB / 310.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1566, allocations: 2.234 kB / 310.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.1573, allocations: 464.3 kB / 311.2 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1573, allocations: 7.344 kB / 311.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.1575, allocations: 87.06 kB / 311.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1575, allocations: 4.031 kB / 311.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.1575, allocations: 11.59 kB / 311.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1575, allocations: 3.312 kB / 311.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1575, allocations: 6.25 kB / 311.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.1578, allocations: 0.7284 MB / 312 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.1579, allocations: 34.2 kB / 312.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1579, allocations: 14.11 kB / 312.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.1581, allocations: 13.41 kB / 312.1 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.1581, allocations: 26.59 kB / 312.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1581, allocations: 7.25 kB / 312.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.331e-05/0.1582, allocations: 81.11 kB / 312.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1582, allocations: 0 / 312.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004451/0.1586, allocations: 107.3 kB / 312.3 MB, free: 12.61 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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 9.344e-05/0.1587, allocations: 89.78 kB / 312.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.159, allocations: 223.6 kB / 312.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.159, allocations: 4.094 kB / 312.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.967e-05/0.159, allocations: 74.66 kB / 312.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.1596, allocations: 67.73 kB / 312.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1607, allocations: 0.8132 MB / 313.6 MB, free: 11.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.859e-05/0.1608, allocations: 102.1 kB / 313.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.1609, allocations: 42.73 kB / 313.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.161, allocations: 115.3 kB / 313.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1611, allocations: 0 / 313.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of Templates: time 0.006198/0.1672, allocations: 3.131 MB / 317 MB, free: 10.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.17090024985373]