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.001421/0.001421, allocations: 104 kB / 16.4 MB, free: 6.445 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.001393/0.001393, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.646/1.646, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2915/0.2915, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.001567/0.001567, allocations: 67.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1601, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.004111/0.1643, allocations: 1.835 MB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005999/0.1649, allocations: 155.4 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.1651, allocations: 8 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.892e-05/0.1652, allocations: 23.78 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.1655, allocations: 51.55 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.1657, allocations: 35.89 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.166, allocations: 183.2 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.1662, allocations: 65.48 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.1664, allocations: 67.72 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.1666, allocations: 79.64 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.1666, allocations: 16 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-05/0.1667, allocations: 12 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.1668, allocations: 35.91 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1669, allocations: 83.59 kB / 0.4905 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.1672, allocations: 187.3 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1672, allocations: 0 / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1672, allocations: 0 / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1673, allocations: 0 / 0.4906 GB, free: 8.965 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.0006946/0.168, allocations: 458.7 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.168, allocations: 15.89 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.1681, allocations: 24.67 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1683, allocations: 208 kB / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1684, allocations: 12.7 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.1684, allocations: 20.38 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.1687, allocations: 162.2 kB / 0.4915 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.1688, allocations: 8.094 kB / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.1688, allocations: 11.94 kB / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1688, allocations: 4 kB / 0.4915 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.169, allocations: 91.89 kB / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009675/0.17, allocations: 0.6033 MB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1702, allocations: 137.1 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/0.1703, allocations: 49.89 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1703, allocations: 11.88 kB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1704, allocations: 30.56 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.914e-06/0.1704, allocations: 0 / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008064/0.1712, allocations: 381.2 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.1713, allocations: 81.11 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1714, allocations: 134 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1714, allocations: 29.7 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.1715, allocations: 128 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.1716, allocations: 51.17 kB / 0.4932 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.1716, allocations: 41.7 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1718, allocations: 322.8 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.1719, allocations: 35.98 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.172, allocations: 116.3 kB / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.1722, allocations: 152.7 kB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1722, allocations: 0 / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003722/0.1726, allocations: 231 kB / 0.494 GB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1726, allocations: 4.469 kB / 0.494 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1726, allocations: 4 kB / 0.494 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.1729, allocations: 49.69 kB / 0.4941 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.173, allocations: 35.92 kB / 0.4941 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.1758, allocations: 3.001 MB / 0.4971 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.289e-05/0.176, allocations: 23.94 kB / 0.4971 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.176, allocations: 15.98 kB / 0.4971 GB, free: 1.676 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.0001477/0.1762, allocations: 121.8 kB / 0.4972 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.1762, allocations: 7.906 kB / 0.4972 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.1763, allocations: 20.66 kB / 0.4972 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1763, allocations: 0 / 0.4972 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.1763, allocations: 4 kB / 0.4972 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1763, allocations: 4 kB / 0.4972 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.1767, allocations: 233.5 kB / 0.4975 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1767, allocations: 0 / 0.4975 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1769, allocations: 27.98 kB / 0.4975 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/0.177, allocations: 45.69 kB / 0.4975 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.177, allocations: 11.94 kB / 0.4975 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/0.1793, allocations: 2.982 MB / 0.5005 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1794, allocations: 0 / 0.5005 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.1798, allocations: 372.6 kB / 0.5008 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.1798, allocations: 92.86 kB / 0.5009 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1799, allocations: 8.062 kB / 0.5009 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.18, allocations: 3.938 kB / 0.5009 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.18, allocations: 15.92 kB / 0.5009 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.18, allocations: 8 kB / 0.5009 GB, free: 13.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.178e-05/0.1801, allocations: 103.2 kB / 0.501 GB, free: 13.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1801, allocations: 0 / 0.501 GB, free: 13.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.1805, allocations: 51.94 kB / 0.5011 GB, free: 13.2 MB / 398.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.0001254/0.1807, allocations: 95.25 kB / 0.5012 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005944/0.1813, allocations: 353.3 kB / 0.5015 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1813, allocations: 3.938 kB / 0.5015 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.1816, allocations: 285.3 kB / 0.5018 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.1822, allocations: 32.33 kB / 0.5018 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.1832, allocations: 0.6358 MB / 0.5024 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.1836, allocations: 0.732 MB / 0.5032 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.1837, allocations: 9.422 kB / 0.5032 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.1837, allocations: 11.44 kB / 0.5032 GB, free: 10.95 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1837, allocations: 0 / 0.5032 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Templates: time 0.006126/0.1898, allocations: 1.946 MB / 0.5051 GB, free: 9.008 MB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches