Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001577/0.001577, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00166/0.00166, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2394/0.2394, allocations: 46.93 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.89 kB / 0.4914 GB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1417, allocations: 65.99 MB / 0.5558 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004749/0.1464, allocations: 3.086 MB / 0.5589 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008178/0.1473, allocations: 414.5 kB / 0.5592 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1474, allocations: 7.938 kB / 0.5593 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.1475, allocations: 71.3 kB / 0.5593 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.1479, allocations: 166.5 kB / 0.5595 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1481, allocations: 107.9 kB / 0.5596 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000592/0.1487, allocations: 0.5442 MB / 0.5601 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.149, allocations: 112.8 kB / 0.5602 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.1492, allocations: 203.4 kB / 0.5604 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.1495, allocations: 211 kB / 0.5606 GB, free: 472 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.1495, allocations: 43.94 kB / 0.5607 GB, free: 428 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.301e-05/0.1496, allocations: 44 kB / 0.5607 GB, free: 384 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.073e-05/0.1497, allocations: 95.67 kB / 0.5608 GB, free: 288 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.1499, allocations: 254.8 kB / 0.561 GB, free: 32 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006026/0.1505, allocations: 0.5253 MB / 0.5616 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1505, allocations: 4 kB / 0.5616 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1506, allocations: 0 / 0.5616 GB, free: 15.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1506, allocations: 0 / 0.5616 GB, free: 15.5 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001101/0.1517, allocations: 0.7246 MB / 0.5623 GB, free: 14.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1517, allocations: 8.031 kB / 0.5623 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.1518, allocations: 56.61 kB / 0.5623 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1522, allocations: 291.6 kB / 0.5626 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/0.1522, allocations: 41.36 kB / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.528e-05/0.1523, allocations: 52.33 kB / 0.5627 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.153, allocations: 454.7 kB / 0.5631 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/0.153, allocations: 20.14 kB / 0.5631 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.1531, allocations: 19.94 kB / 0.5632 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.1531, allocations: 12 kB / 0.5632 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.1536, allocations: 265.7 kB / 0.5634 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.156, allocations: 1.696 MB / 0.5651 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000648/0.1566, allocations: 395.4 kB / 0.5655 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.1569, allocations: 143.7 kB / 0.5656 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1569, allocations: 12.55 kB / 0.5656 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.1569, allocations: 46.48 kB / 0.5657 GB, free: 10.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/0.1569, allocations: 0 / 0.5657 GB, free: 10.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007526/0.1577, allocations: 361.3 kB / 0.566 GB, free: 10.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/0.1578, allocations: 276.9 kB / 0.5663 GB, free: 10.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.1582, allocations: 250.9 kB / 0.5665 GB, free: 10.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1582, allocations: 29.7 kB / 0.5665 GB, free: 9.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.1584, allocations: 252.2 kB / 0.5668 GB, free: 9.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.1586, allocations: 190.9 kB / 0.567 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1587, allocations: 118.6 kB / 0.5671 GB, free: 9.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1589, allocations: 350.8 kB / 0.5674 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.1591, allocations: 117.9 kB / 0.5675 GB, free: 8.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.1596, allocations: 413.6 kB / 0.5679 GB, free: 8.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007642/0.1603, allocations: 0.5766 MB / 0.5685 GB, free: 7.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1603, allocations: 8 kB / 0.5685 GB, free: 7.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009244/0.1613, allocations: 0.5678 MB / 0.569 GB, free: 7.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.1613, allocations: 8 kB / 0.569 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.1613, allocations: 12.91 kB / 0.5691 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.072e-05/0.1614, allocations: 12 kB / 0.5691 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.1619, allocations: 191.6 kB / 0.5692 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/0.162, allocations: 19.94 kB / 0.5693 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.1622, allocations: 67.45 kB / 0.5693 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.1623, allocations: 36 kB / 0.5694 GB, free: 6.785 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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 0.0002407/0.1625, allocations: 183.8 kB / 0.5695 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.1627, allocations: 39.77 kB / 0.5696 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.1628, allocations: 41.7 kB / 0.5696 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.1628, allocations: 15.94 kB / 0.5696 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1628, allocations: 0 / 0.5696 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.1629, allocations: 7.984 kB / 0.5696 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.1639, allocations: 413.2 kB / 0.57 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1639, allocations: 0 / 0.57 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.1645, allocations: 127.9 kB / 0.5702 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.1645, allocations: 4 kB / 0.5702 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.1645, allocations: 11.98 kB / 0.5702 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.1645, allocations: 7.938 kB / 0.5702 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.1645, allocations: 7.938 kB / 0.5702 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009785/0.1655, allocations: 1.086 MB / 0.5712 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.879e-05/0.1656, allocations: 112.9 kB / 0.5714 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.1656, allocations: 12 kB / 0.5714 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.166, allocations: 16 kB / 0.5714 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.1661, allocations: 35.95 kB / 0.5714 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1661, allocations: 12 kB / 0.5714 GB, free: 4.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.1663, allocations: 170 kB / 0.5716 GB, free: 4.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1663, allocations: 0 / 0.5716 GB, free: 4.406 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008189/0.1671, allocations: 147.7 kB / 0.5717 GB, free: 4.262 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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 0.0001729/0.1673, allocations: 111.2 kB / 0.5718 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005668/0.1678, allocations: 332.6 kB / 0.5722 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1678, allocations: 0 / 0.5722 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.168, allocations: 119.8 kB / 0.5723 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.1692, allocations: 109.6 kB / 0.5724 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.1722, allocations: 1.986 MB / 0.5743 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.1728, allocations: 0.8236 MB / 0.5751 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.173, allocations: 48.16 kB / 0.5752 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.1731, allocations: 35.44 kB / 0.5752 GB, free: 0.625 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1731, allocations: 0 / 0.5752 GB, free: 0.625 MB / 430.1 MB Notification: Performance of Templates: time 0.009369/0.1824, allocations: 4.268 MB / 0.5794 GB, free: 12.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.770046018064022]