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.001949/0.001949, allocations: 114 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.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.002389/0.002389, allocations: 219.6 kB / 23 MB, free: 5.043 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.749/1.749, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.2683/0.2683, allocations: 44.24 MB / 330.3 MB, free: 9.512 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 70.55 kB / 468 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.151, allocations: 61.03 MB / 0.5166 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003823/0.1548, allocations: 1.686 MB / 0.5183 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004097/0.1552, allocations: 103.6 kB / 0.5184 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1553, allocations: 4 kB / 0.5184 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.605e-05/0.1554, allocations: 15.8 kB / 0.5184 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.1555, allocations: 39.69 kB / 0.5184 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.1557, allocations: 27.97 kB / 0.5184 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1559, allocations: 131.4 kB / 0.5186 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1561, allocations: 25.28 kB / 0.5186 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.1562, allocations: 51.84 kB / 0.5186 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.425e-05/0.1563, allocations: 51.72 kB / 0.5187 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.1563, allocations: 12 kB / 0.5187 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.388e-05/0.1563, allocations: 8 kB / 0.5187 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.1563, allocations: 23.92 kB / 0.5187 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.1564, allocations: 55.73 kB / 0.5188 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1566, allocations: 131.4 kB / 0.5189 GB, free: 4.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1566, allocations: 0 / 0.5189 GB, free: 4.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1566, allocations: 4 kB / 0.5189 GB, free: 4.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1566, allocations: 0 / 0.5189 GB, free: 4.477 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005646/0.1572, allocations: 326.2 kB / 0.5192 GB, free: 4.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1573, allocations: 12.03 kB / 0.5192 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.1573, allocations: 12.84 kB / 0.5192 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.1575, allocations: 126.4 kB / 0.5194 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1575, allocations: 12.61 kB / 0.5194 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.1575, allocations: 20.31 kB / 0.5194 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.1578, allocations: 133.5 kB / 0.5195 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1578, allocations: 4.125 kB / 0.5195 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1578, allocations: 11.88 kB / 0.5195 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1578, allocations: 4 kB / 0.5195 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1579, allocations: 55.97 kB / 0.5196 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007946/0.1587, allocations: 499.5 kB / 0.5201 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1589, allocations: 85.16 kB / 0.5202 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.159, allocations: 29.8 kB / 0.5202 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.159, allocations: 7.875 kB / 0.5202 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.159, allocations: 42.5 kB / 0.5202 GB, free: 2.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.159, allocations: 0 / 0.5202 GB, free: 2.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005644/0.1596, allocations: 139.2 kB / 0.5204 GB, free: 2.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.1596, allocations: 77.11 kB / 0.5204 GB, free: 2.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1597, allocations: 125.8 kB / 0.5206 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1598, allocations: 25.7 kB / 0.5206 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.1599, allocations: 127.7 kB / 0.5207 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.1599, allocations: 35.73 kB / 0.5207 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.1599, allocations: 25.72 kB / 0.5208 GB, free: 2.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1601, allocations: 326.8 kB / 0.5211 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.1602, allocations: 27.98 kB / 0.5211 GB, free: 2.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.731e-05/0.1603, allocations: 88.45 kB / 0.5212 GB, free: 1.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.1604, allocations: 124.5 kB / 0.5213 GB, free: 1.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.1604, allocations: 0 / 0.5213 GB, free: 1.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003106/0.1607, allocations: 171.2 kB / 0.5215 GB, free: 1.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1608, allocations: 8 kB / 0.5215 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1608, allocations: 0 / 0.5215 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/0.161, allocations: 41.64 kB / 0.5215 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.1611, allocations: 23.92 kB / 0.5215 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.1636, allocations: 2.528 MB / 0.524 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.595e-05/0.1637, allocations: 15.91 kB / 0.524 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1637, allocations: 12 kB / 0.524 GB, free: 14.71 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 (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 0.0001444/0.1638, allocations: 122 kB / 0.5241 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.1639, allocations: 7.953 kB / 0.5242 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.1639, allocations: 15.94 kB / 0.5242 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1639, allocations: 0 / 0.5242 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1639, allocations: 3.938 kB / 0.5242 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1639, allocations: 4 kB / 0.5242 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.1643, allocations: 164.7 kB / 0.5243 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.1643, allocations: 4 kB / 0.5243 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.331e-05/0.1644, allocations: 19.92 kB / 0.5244 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.1645, allocations: 37.7 kB / 0.5244 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1645, allocations: 3.938 kB / 0.5244 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.1669, allocations: 2.527 MB / 0.5269 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1669, allocations: 3.938 kB / 0.5269 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.1674, allocations: 308.5 kB / 0.5272 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.1674, allocations: 7.938 kB / 0.5272 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1674, allocations: 8 kB / 0.5272 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.1675, allocations: 0 / 0.5272 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.1676, allocations: 8.031 kB / 0.5272 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1676, allocations: 3.938 kB / 0.5272 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.542e-05/0.1676, allocations: 99.27 kB / 0.5273 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1676, allocations: 0 / 0.5273 GB, free: 11.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000416/0.168, allocations: 39.95 kB / 0.5273 GB, free: 11.02 MB / 414.1 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 0.0001782/0.1682, allocations: 99.22 kB / 0.5274 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006837/0.1689, allocations: 305.1 kB / 0.5277 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1689, allocations: 0.5 kB / 0.5277 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.1692, allocations: 253.4 kB / 0.528 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.1698, allocations: 31.91 kB / 0.528 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009977/0.1708, allocations: 477.8 kB / 0.5284 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.1712, allocations: 0.7083 MB / 0.5291 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.958e-05/0.1713, allocations: 8.969 kB / 0.5291 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.1713, allocations: 11.44 kB / 0.5291 GB, free: 9.027 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1713, allocations: 7.938 kB / 0.5292 GB, free: 9.02 MB / 414.1 MB Notification: Performance of Templates: time 0.006605/0.1779, allocations: 1.589 MB / 0.5307 GB, free: 7.434 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 6.069777603959665]