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.001069/0.001069, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001205/0.001205, allocations: 169 kB / 24.14 MB, free: 364 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.9269/0.9269, allocations: 158.6 MB / 186 MB, free: 2.766 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.1355/0.1355, allocations: 32.37 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.483e-06/1.483e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.765e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003395/0.003422, allocations: 1.715 MB / 300.8 MB, free: 460 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004223/0.003845, allocations: 115.5 kB / 300.9 MB, free: 344 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.003919, allocations: 4 kB / 300.9 MB, free: 340 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.866e-05/0.003978, allocations: 15.8 kB / 300.9 MB, free: 324 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.004117, allocations: 43.62 kB / 301 MB, free: 280 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.004257, allocations: 23.97 kB / 301 MB, free: 256 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.004429, allocations: 135.3 kB / 301.1 MB, free: 120 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.004558, allocations: 25.89 kB / 301.2 MB, free: 96 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.004713, allocations: 75.86 kB / 301.2 MB, free: 20 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1433/0.148, allocations: 34.73 kB / 301.3 MB, free: 19.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.76e-05/0.1481, allocations: 11.42 kB / 301.3 MB, free: 19.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.622e-05/0.1481, allocations: 8.969 kB / 301.3 MB, free: 19.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.1481, allocations: 24.58 kB / 301.3 MB, free: 19.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.1482, allocations: 39.98 kB / 301.4 MB, free: 19.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.1484, allocations: 80.28 kB / 301.4 MB, free: 19.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1484, allocations: 0 / 301.4 MB, free: 19.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1484, allocations: 2.844 kB / 301.4 MB, free: 19.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1484, allocations: 1.969 kB / 301.4 MB, free: 19.34 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.0003672/0.1488, allocations: 308.1 kB / 301.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1488, allocations: 10.78 kB / 301.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.1488, allocations: 22.41 kB / 301.8 MB, free: 19.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.149, allocations: 126.5 kB / 301.9 MB, free: 18.94 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.149, allocations: 14.84 kB / 301.9 MB, free: 18.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.149, allocations: 20.16 kB / 301.9 MB, free: 18.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1492, allocations: 104.6 kB / 302 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1492, allocations: 4.688 kB / 302 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1492, allocations: 5.531 kB / 302 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1492, allocations: 2.688 kB / 302 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/0.1493, allocations: 37.16 kB / 302.1 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.1497, allocations: 363.4 kB / 302.4 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.1498, allocations: 68.11 kB / 302.5 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.1498, allocations: 17.72 kB / 302.5 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.1498, allocations: 1.125 kB / 302.5 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1498, allocations: 40.78 kB / 302.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1498, allocations: 1.125 kB / 302.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003355/0.1502, allocations: 122 kB / 302.7 MB, free: 18.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.1502, allocations: 82.25 kB / 302.8 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/0.1503, allocations: 129.7 kB / 302.9 MB, free: 18.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.1503, allocations: 26.48 kB / 302.9 MB, free: 18.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.1503, allocations: 121.6 kB / 303 MB, free: 18.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.1503, allocations: 37.55 kB / 303.1 MB, free: 18.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1504, allocations: 32.11 kB / 303.1 MB, free: 18.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.625e-05/0.1504, allocations: 318.8 kB / 303.4 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.1504, allocations: 11.56 kB / 303.4 MB, free: 17.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.213e-05/0.1505, allocations: 72.66 kB / 303.5 MB, free: 17.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/0.1506, allocations: 102.7 kB / 303.6 MB, free: 17.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1506, allocations: 1.875 kB / 303.6 MB, free: 17.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001871/0.1508, allocations: 134.9 kB / 303.7 MB, free: 17.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1508, allocations: 5.875 kB / 303.7 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1508, allocations: 2.812 kB / 303.7 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.1509, allocations: 33.47 kB / 303.8 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.151, allocations: 24.52 kB / 303.8 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009635/0.152, allocations: 2.324 MB / 306.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.152, allocations: 8.969 kB / 306.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.152, allocations: 10.59 kB / 306.1 MB, free: 15.29 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.587e-05/0.1521, allocations: 118.5 kB / 306.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.1521, allocations: 10.41 kB / 306.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.1521, allocations: 12.41 kB / 306.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1521, allocations: 2.672 kB / 306.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1521, allocations: 1.281 kB / 306.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1521, allocations: 1.766 kB / 306.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.1523, allocations: 89.83 kB / 306.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1523, allocations: 6.844 kB / 306.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.1524, allocations: 19.02 kB / 306.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-05/0.1525, allocations: 27.94 kB / 306.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1525, allocations: 9.641 kB / 306.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007625/0.1532, allocations: 2.32 MB / 308.7 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1533, allocations: 0.6094 kB / 308.7 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.1534, allocations: 275.9 kB / 309 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.1534, allocations: 12.28 kB / 309 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.1534, allocations: 5.891 kB / 309 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.1535, allocations: 1.25 kB / 309 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.1535, allocations: 14.86 kB / 309.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1535, allocations: 1.703 kB / 309.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.197e-05/0.1536, allocations: 16.8 kB / 309.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1536, allocations: 0 / 309.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.1539, allocations: 36.55 kB / 309.1 MB, free: 12.54 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 8.565e-05/0.154, allocations: 77.19 kB / 309.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.1542, allocations: 292.7 kB / 309.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.1542, allocations: 1.375 kB / 309.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1543, allocations: 263.3 kB / 309.7 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1546, allocations: 22.64 kB / 309.7 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.1553, allocations: 334.5 kB / 310.1 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.141e-05/0.1553, allocations: 77.59 kB / 310.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.888e-05/0.1553, allocations: 7.25 kB / 310.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.1554, allocations: 72.47 kB / 310.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1554, allocations: 0 / 310.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of Templates: time 0.005358/0.1608, allocations: 1.807 MB / 312 MB, free: 11.47 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 -s gbode -gbm=radauIIA3 -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.0094966809265316]