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.005648/0.005649, allocations: 98.66 kB / 15.87 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 197 kB / 16.79 MB, free: 6.219 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.543/1.543, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.4323/0.4323, allocations: 43.49 MB / 313.5 MB, free: 8.531 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.001428/0.001428, allocations: 67.91 kB / 382 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1722, allocations: 57.78 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003679/0.176, allocations: 1.91 MB / 441.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003285/0.1763, allocations: 147.5 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.1764, allocations: 3.938 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.985e-05/0.1765, allocations: 11.92 kB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.1766, allocations: 47.61 kB / 441.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.1768, allocations: 27.98 kB / 442 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.177, allocations: 187.1 kB / 442.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.1772, allocations: 57.83 kB / 442.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.1773, allocations: 59.8 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1774, allocations: 67.69 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.1775, allocations: 12 kB / 442.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.239e-05/0.1775, allocations: 11.94 kB / 442.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.1775, allocations: 27.92 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.777e-05/0.1776, allocations: 79.59 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1778, allocations: 175.6 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1778, allocations: 0 / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1779, allocations: 0 / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1779, allocations: 4 kB / 442.6 MB, free: 12.02 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.0005916/0.1785, allocations: 455.2 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1785, allocations: 12.03 kB / 443.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1786, allocations: 16.75 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1788, allocations: 200.1 kB / 443.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1788, allocations: 12.7 kB / 443.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.1789, allocations: 20.36 kB / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.1792, allocations: 174.1 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.1792, allocations: 4.094 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.1792, allocations: 15.92 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1792, allocations: 4 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.1794, allocations: 83.95 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008093/0.1802, allocations: 0.6188 MB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.1804, allocations: 125.2 kB / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.1805, allocations: 61.7 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1805, allocations: 0 / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1806, allocations: 46.61 kB / 444.4 MB, free: 10 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.1806, allocations: 0 / 444.4 MB, free: 10 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007987/0.1814, allocations: 377.2 kB / 444.8 MB, free: 9.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.1814, allocations: 81.11 kB / 444.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1815, allocations: 129.9 kB / 445 MB, free: 9.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1816, allocations: 29.7 kB / 445.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.1816, allocations: 124.1 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.1817, allocations: 71.08 kB / 445.2 MB, free: 9.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.1818, allocations: 37.66 kB / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1819, allocations: 326.8 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.182, allocations: 35.98 kB / 445.6 MB, free: 8.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1821, allocations: 108.4 kB / 445.7 MB, free: 8.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1823, allocations: 152.5 kB / 445.9 MB, free: 8.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1823, allocations: 0 / 445.9 MB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003384/0.1826, allocations: 219 kB / 446.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1827, allocations: 16.23 kB / 446.1 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1827, allocations: 480 / 446.1 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.1829, allocations: 49.64 kB / 446.2 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1831, allocations: 31.98 kB / 446.2 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.185, allocations: 2.732 MB / 448.9 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.1851, allocations: 15.84 kB / 448.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1852, allocations: 11.94 kB / 449 MB, free: 5.039 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.1853, allocations: 133.7 kB / 449.1 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.1853, allocations: 15.81 kB / 449.1 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.1854, allocations: 16.81 kB / 449.1 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1854, allocations: 4 kB / 449.1 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1854, allocations: 4 kB / 449.1 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1854, allocations: 3.984 kB / 449.1 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.1857, allocations: 233.5 kB / 449.4 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1857, allocations: 0 / 449.4 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.1858, allocations: 23.98 kB / 449.4 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/0.186, allocations: 53.62 kB / 449.4 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.186, allocations: 8 kB / 449.4 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.1879, allocations: 2.708 MB / 452.2 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.1879, allocations: 7.969 kB / 452.2 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.1883, allocations: 376.4 kB / 452.5 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.1883, allocations: 92.94 kB / 452.6 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1884, allocations: 0 / 452.6 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1885, allocations: 12 kB / 452.6 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.1885, allocations: 7.984 kB / 452.6 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.1885, allocations: 8.125 kB / 452.6 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.659e-05/0.1886, allocations: 103.3 kB / 452.7 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.1886, allocations: 0 / 452.7 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004141/0.189, allocations: 59.84 kB / 452.8 MB, free: 0.8203 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001237/0.1892, allocations: 99.17 kB / 452.9 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005173/0.1897, allocations: 357.4 kB / 453.3 MB, free: 348 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1897, allocations: 0 / 453.3 MB, free: 348 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.19, allocations: 281.4 kB / 453.5 MB, free: 40 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.1906, allocations: 36.5 kB / 453.6 MB, free: 4 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2257/0.4162, allocations: 0.6842 MB / 454.2 MB, free: 48.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.4164, allocations: 0.7283 MB / 455 MB, free: 47.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.4165, allocations: 15.7 kB / 455 MB, free: 47.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.4165, allocations: 13.28 kB / 455 MB, free: 47.42 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4166, allocations: 2.625 kB / 455 MB, free: 47.42 MB / 382.1 MB Notification: Performance of Templates: time 0.004212/0.4208, allocations: 1.844 MB / 456.8 MB, free: 47.33 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