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.002044/0.002044, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.003637/0.003637, allocations: 216.8 kB / 22.99 MB, free: 4.973 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.672/1.672, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2694/0.2694, allocations: 44.26 MB / 330.3 MB, free: 9.297 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.002401/0.002401, allocations: 75.84 kB / 468 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1496, allocations: 61.04 MB / 0.5166 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003863/0.1534, allocations: 1.612 MB / 0.5182 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.1538, allocations: 111.5 kB / 0.5183 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.1538, allocations: 0 / 0.5183 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.4e-05/0.1539, allocations: 15.86 kB / 0.5183 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.154, allocations: 43.62 kB / 0.5184 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.1542, allocations: 23.98 kB / 0.5184 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.1543, allocations: 123.4 kB / 0.5185 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1545, allocations: 33.27 kB / 0.5185 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1546, allocations: 47.86 kB / 0.5186 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.928e-05/0.1547, allocations: 43.78 kB / 0.5186 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.1547, allocations: 8 kB / 0.5186 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.708e-05/0.1547, allocations: 8 kB / 0.5186 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.1548, allocations: 27.84 kB / 0.5187 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.263e-05/0.1548, allocations: 47.8 kB / 0.5187 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.155, allocations: 123.5 kB / 0.5188 GB, free: 4.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.155, allocations: 4 kB / 0.5188 GB, free: 4.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.155, allocations: 0 / 0.5188 GB, free: 4.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1551, allocations: 4 kB / 0.5188 GB, free: 4.391 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.0006532/0.1557, allocations: 334.1 kB / 0.5192 GB, free: 4.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.1558, allocations: 8.031 kB / 0.5192 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.1558, allocations: 16.84 kB / 0.5192 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1561, allocations: 130.4 kB / 0.5193 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.1561, allocations: 8.609 kB / 0.5193 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.1562, allocations: 16.33 kB / 0.5193 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.1565, allocations: 137.5 kB / 0.5195 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1565, allocations: 4.188 kB / 0.5195 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.1565, allocations: 7.938 kB / 0.5195 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1565, allocations: 4 kB / 0.5195 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.1567, allocations: 63.91 kB / 0.5195 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.1576, allocations: 440.2 kB / 0.52 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1578, allocations: 85.17 kB / 0.52 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.1578, allocations: 29.8 kB / 0.5201 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.1578, allocations: 0 / 0.5201 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.1579, allocations: 38.5 kB / 0.5201 GB, free: 2.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1579, allocations: 4 kB / 0.5201 GB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006219/0.1585, allocations: 143.5 kB / 0.5202 GB, free: 2.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.1586, allocations: 77.11 kB / 0.5203 GB, free: 2.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1587, allocations: 129.8 kB / 0.5204 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1587, allocations: 25.7 kB / 0.5205 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.1588, allocations: 127.6 kB / 0.5206 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.1589, allocations: 35.73 kB / 0.5206 GB, free: 2.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.1589, allocations: 33.67 kB / 0.5207 GB, free: 2.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1591, allocations: 326.8 kB / 0.521 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.1592, allocations: 31.92 kB / 0.521 GB, free: 1.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1593, allocations: 80.58 kB / 0.5211 GB, free: 1.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1595, allocations: 132.4 kB / 0.5212 GB, free: 1.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1595, allocations: 0 / 0.5212 GB, free: 1.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003002/0.1598, allocations: 163.1 kB / 0.5214 GB, free: 1.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1598, allocations: 4 kB / 0.5214 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1598, allocations: 7.938 kB / 0.5214 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.16, allocations: 33.7 kB / 0.5214 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1601, allocations: 24.17 kB / 0.5214 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.1627, allocations: 2.481 MB / 0.5238 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.236e-05/0.1628, allocations: 20.14 kB / 0.5239 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1628, allocations: 8 kB / 0.5239 GB, free: 14.75 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.0001441/0.1629, allocations: 129.8 kB / 0.524 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.163, allocations: 7.953 kB / 0.524 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.163, allocations: 8 kB / 0.524 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.163, allocations: 4 kB / 0.524 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.163, allocations: 0 / 0.524 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.163, allocations: 3.938 kB / 0.524 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.1633, allocations: 137.3 kB / 0.5241 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1633, allocations: 4 kB / 0.5241 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.408e-05/0.1634, allocations: 15.98 kB / 0.5242 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.873e-05/0.1635, allocations: 37.7 kB / 0.5242 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1635, allocations: 0 / 0.5242 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.1655, allocations: 2.489 MB / 0.5266 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.1656, allocations: 4.031 kB / 0.5266 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.1659, allocations: 296.3 kB / 0.5269 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.1659, allocations: 11.95 kB / 0.5269 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1659, allocations: 4 kB / 0.5269 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.166, allocations: 3.938 kB / 0.5269 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.166, allocations: 12.03 kB / 0.5269 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.166, allocations: 7.922 kB / 0.527 GB, free: 11.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.778e-05/0.1661, allocations: 91.28 kB / 0.527 GB, free: 11.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1661, allocations: 4.125 kB / 0.527 GB, free: 11.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003383/0.1664, allocations: 39.88 kB / 0.5271 GB, free: 11.18 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.0001305/0.1666, allocations: 95.23 kB / 0.5272 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.1672, allocations: 301.6 kB / 0.5275 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1672, allocations: 64 / 0.5275 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.1675, allocations: 257.4 kB / 0.5277 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.168, allocations: 31.92 kB / 0.5277 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1691, allocations: 465.7 kB / 0.5282 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.1692, allocations: 101.6 kB / 0.5283 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.433e-05/0.1692, allocations: 4.984 kB / 0.5283 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.1693, allocations: 11.44 kB / 0.5283 GB, free: 9.82 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1693, allocations: 0 / 0.5283 GB, free: 9.82 MB / 414.1 MB Notification: Performance of Templates: time 0.005259/0.1745, allocations: 1.759 MB / 0.53 GB, free: 8.082 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: 5.754328953102231]