Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001454/0.001454, allocations: 84.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.001726/0.001726, allocations: 169 kB / 24.14 MB, free: 360 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.9192/0.9192, allocations: 158.6 MB / 186 MB, free: 2.77 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.1288/0.1288, 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.184e-05, allocations: 2.312 kB / 299 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002065/0.002087, allocations: 1.675 MB / 300.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002817/0.002368, allocations: 111.5 kB / 300.8 MB, free: 436 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.002422, allocations: 4 kB / 300.8 MB, free: 432 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.782e-05/0.00247, allocations: 15.86 kB / 300.9 MB, free: 416 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.002591, allocations: 39.64 kB / 300.9 MB, free: 376 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.002703, allocations: 27.95 kB / 300.9 MB, free: 348 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.002826, allocations: 131.3 kB / 301 MB, free: 216 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.002931, allocations: 25.95 kB / 301.1 MB, free: 192 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.00303, allocations: 79.8 kB / 301.1 MB, free: 112 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.655e-05/0.003107, allocations: 35.89 kB / 301.2 MB, free: 76 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.003128, allocations: 8 kB / 301.2 MB, free: 68 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.003145, allocations: 12 kB / 301.2 MB, free: 56 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.003169, allocations: 19.92 kB / 301.2 MB, free: 36 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1426/0.1458, allocations: 44.8 kB / 301.3 MB, free: 19.35 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.146, allocations: 74.86 kB / 301.3 MB, free: 19.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.146, allocations: 0 / 301.3 MB, free: 19.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.146, allocations: 0 / 301.3 MB, free: 19.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.146, allocations: 1.5 kB / 301.3 MB, free: 19.35 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003821/0.1464, allocations: 308.4 kB / 301.6 MB, free: 19.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1465, allocations: 10.17 kB / 301.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.1465, allocations: 18.77 kB / 301.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1467, allocations: 130.8 kB / 301.8 MB, free: 18.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1467, allocations: 8.172 kB / 301.8 MB, free: 18.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.1467, allocations: 19.81 kB / 301.8 MB, free: 18.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1469, allocations: 108.3 kB / 301.9 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1469, allocations: 3.359 kB / 301.9 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1469, allocations: 5.188 kB / 301.9 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1469, allocations: 2.75 kB / 301.9 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.287e-05/0.147, allocations: 41.5 kB / 302 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.1475, allocations: 366.8 kB / 302.3 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.1476, allocations: 62.75 kB / 302.4 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.1476, allocations: 26.34 kB / 302.4 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.1476, allocations: 2.219 kB / 302.4 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1476, allocations: 36.78 kB / 302.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1476, allocations: 0 / 302.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003209/0.148, allocations: 115.8 kB / 302.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.148, allocations: 83.97 kB / 302.7 MB, free: 18.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.1481, allocations: 131.2 kB / 302.8 MB, free: 18.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.1481, allocations: 25.7 kB / 302.8 MB, free: 18.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.1481, allocations: 115 kB / 302.9 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1481, allocations: 41.09 kB / 303 MB, free: 18.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1482, allocations: 32.67 kB / 303 MB, free: 18.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.605e-05/0.1482, allocations: 321.3 kB / 303.3 MB, free: 17.81 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.1482, allocations: 9.281 kB / 303.3 MB, free: 17.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.1482, allocations: 72.78 kB / 303.4 MB, free: 17.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.659e-05/0.1483, allocations: 108.5 kB / 303.5 MB, free: 17.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1483, allocations: 2.078 kB / 303.5 MB, free: 17.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001413/0.1485, allocations: 126.8 kB / 303.6 MB, free: 17.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1485, allocations: 6.453 kB / 303.6 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.1485, allocations: 2.969 kB / 303.6 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.1486, allocations: 38.3 kB / 303.7 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.1487, allocations: 20.75 kB / 303.7 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008099/0.1495, allocations: 2.316 MB / 306 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.1495, allocations: 11.64 kB / 306 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1495, allocations: 5.438 kB / 306 MB, free: 15.32 MB / 282.7 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 5.648e-05/0.1496, allocations: 123.5 kB / 306.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1496, allocations: 15.08 kB / 306.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.1496, allocations: 12.42 kB / 306.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1496, allocations: 2.406 kB / 306.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1497, allocations: 2.234 kB / 306.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1497, allocations: 0 / 306.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.1498, allocations: 91.02 kB / 306.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1498, allocations: 1.906 kB / 306.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.1498, allocations: 13.19 kB / 306.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-05/0.1499, allocations: 32.33 kB / 306.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1499, allocations: 8.188 kB / 306.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006346/0.1505, allocations: 2.315 MB / 308.6 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1505, allocations: 3.297 kB / 308.6 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.1507, allocations: 271.9 kB / 308.9 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.1507, allocations: 12.83 kB / 308.9 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-06/0.1507, allocations: 1.25 kB / 308.9 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.1508, allocations: 5.188 kB / 308.9 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.1508, allocations: 19.5 kB / 308.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1508, allocations: 2.969 kB / 308.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.077e-05/0.1508, allocations: 22.02 kB / 309 MB, free: 12.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1508, allocations: 0 / 309 MB, free: 12.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.151, allocations: 36.52 kB / 309 MB, free: 12.56 MB / 282.7 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 9.478e-05/0.1511, allocations: 76.41 kB / 309.1 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.1514, allocations: 292 kB / 309.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1514, allocations: 1.219 kB / 309.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.985e-05/0.1515, allocations: 257.8 kB / 309.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.1517, allocations: 25.77 kB / 309.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005538/0.1523, allocations: 331.8 kB / 310 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.1523, allocations: 73.41 kB / 310 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.504e-05/0.1523, allocations: 10.69 kB / 310 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.1524, allocations: 68.92 kB / 310.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1524, allocations: 0 / 310.1 MB, free: 11.66 MB / 282.7 MB Notification: Performance of Templates: time 0.004804/0.1572, allocations: 1.813 MB / 311.9 MB, free: 11.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.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.203511639032513]