Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009827/0.0009825, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 171.8 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3924/0.3924, allocations: 43.57 MB / 314.6 MB, free: 9.082 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005819/0.000582, allocations: 16 kB / 384 MB, free: 8.223 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.158, allocations: 58.86 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002122/0.1602, allocations: 1.514 MB / 444.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004614/0.1607, allocations: 151.5 kB / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1608, allocations: 3.938 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.214e-05/0.1609, allocations: 11.92 kB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.161, allocations: 43.61 kB / 444.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.1612, allocations: 27.97 kB / 444.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.1614, allocations: 175.1 kB / 444.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1616, allocations: 53.81 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1617, allocations: 55.8 kB / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1619, allocations: 67.69 kB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.1619, allocations: 8 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-05/0.1619, allocations: 8 kB / 444.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.162, allocations: 23.92 kB / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.749e-05/0.1621, allocations: 57.64 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1622, allocations: 127.9 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.1622, allocations: 7.984 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1623, allocations: 3.938 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.1623, allocations: 3.938 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006407/0.1629, allocations: 431.1 kB / 445.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.163, allocations: 8.031 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.1631, allocations: 19.77 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1633, allocations: 198.8 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1633, allocations: 12.33 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.1634, allocations: 24 kB / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.1637, allocations: 169.5 kB / 446 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1638, allocations: 3.906 kB / 446 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1638, allocations: 8 kB / 446 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1638, allocations: 4 kB / 446 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.164, allocations: 91.89 kB / 446.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009381/0.165, allocations: 0.6189 MB / 446.7 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.1652, allocations: 129.2 kB / 446.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.1653, allocations: 53.7 kB / 446.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.1653, allocations: 0 / 446.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1654, allocations: 34.52 kB / 446.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.1654, allocations: 0 / 446.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008373/0.1662, allocations: 381.5 kB / 447.3 MB, free: 8.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.1663, allocations: 89.03 kB / 447.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1664, allocations: 122.1 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1665, allocations: 33.7 kB / 447.5 MB, free: 8.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.1666, allocations: 132 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.1666, allocations: 51.2 kB / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.1666, allocations: 4 kB / 447.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1668, allocations: 326.8 kB / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.1669, allocations: 35.98 kB / 448.1 MB, free: 7.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.167, allocations: 108.6 kB / 448.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.717e-05/0.1671, allocations: 56.25 kB / 448.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1671, allocations: 0 / 448.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003731/0.1675, allocations: 215 kB / 448.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1675, allocations: 7.953 kB / 448.4 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1676, allocations: 4 kB / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/0.1678, allocations: 61.81 kB / 448.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.168, allocations: 35.98 kB / 448.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.1704, allocations: 2.72 MB / 451.3 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.1705, allocations: 11.84 kB / 451.3 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1705, allocations: 12 kB / 451.3 MB, free: 4.141 MB / 382.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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.1707, allocations: 133.7 kB / 451.4 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.1708, allocations: 15.81 kB / 451.4 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.1708, allocations: 20.8 kB / 451.5 MB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1708, allocations: 4 kB / 451.5 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1708, allocations: 4 kB / 451.5 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1708, allocations: 0 / 451.5 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.1712, allocations: 225.5 kB / 451.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1712, allocations: 0 / 451.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.1713, allocations: 31.92 kB / 451.7 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.1715, allocations: 53.72 kB / 451.8 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1715, allocations: 4 kB / 451.8 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.1736, allocations: 2.708 MB / 454.5 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1737, allocations: 3.953 kB / 454.5 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.1741, allocations: 376.5 kB / 454.9 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.1741, allocations: 85.16 kB / 454.9 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1741, allocations: 4.062 kB / 454.9 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1743, allocations: 7.984 kB / 454.9 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1743, allocations: 11.98 kB / 455 MB, free: 104 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.1743, allocations: 4 kB / 455 MB, free: 100 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.3201/0.4944, allocations: 108.2 kB / 455.1 MB, free: 46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.4944, allocations: 0 / 455.1 MB, free: 46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007264/0.4952, allocations: 51.25 kB / 455.1 MB, free: 46 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.4953, allocations: 102 kB / 455.2 MB, free: 45.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000636/0.496, allocations: 351.6 kB / 455.6 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.496, allocations: 0 / 455.6 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.4962, allocations: 280.1 kB / 455.8 MB, free: 45.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.4968, allocations: 38.67 kB / 455.9 MB, free: 45.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4978, allocations: 0.7815 MB / 456.7 MB, free: 45.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.498, allocations: 0.7251 MB / 457.4 MB, free: 44.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.764e-05/0.498, allocations: 18.55 kB / 457.4 MB, free: 44.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.4981, allocations: 12.78 kB / 457.4 MB, free: 44.32 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4981, allocations: 0 / 457.4 MB, free: 44.32 MB / 382.1 MB Notification: Performance of Templates: time 0.005348/0.5034, allocations: 1.774 MB / 459.2 MB, free: 44.22 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches