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.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.001073/0.001073, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001047/0.001047, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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.058/1.058, allocations: 158.6 MB / 186 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.1396/0.1396, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.217e-05/3.418e-05, allocations: 2.312 kB / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002963/0.002997, allocations: 1.862 MB / 300.9 MB, free: 360 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005907/0.003588, allocations: 159.3 kB / 301.1 MB, free: 200 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.222e-05/0.00367, allocations: 4 kB / 301.1 MB, free: 196 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.716e-05/0.003738, allocations: 23.73 kB / 301.1 MB, free: 172 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.003903, allocations: 55.48 kB / 301.1 MB, free: 116 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.00408, allocations: 39.94 kB / 301.2 MB, free: 76 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1742/0.1783, allocations: 185.5 kB / 301.4 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.1785, allocations: 42.61 kB / 301.4 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.1788, allocations: 107.3 kB / 301.5 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.179, allocations: 51.08 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.179, allocations: 17.25 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.629e-05/0.1791, allocations: 14.59 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.1791, allocations: 34.95 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.522e-05/0.1792, allocations: 58.17 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.1795, allocations: 123.6 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1795, allocations: 0 / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1795, allocations: 0 / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1795, allocations: 1.031 kB / 301.8 MB, free: 19.23 MB / 282.7 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.0005593/0.18, allocations: 358.3 kB / 302.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1801, allocations: 8.938 kB / 302.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.305e-05/0.1802, allocations: 28.77 kB / 302.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1804, allocations: 140 kB / 302.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1804, allocations: 12.42 kB / 302.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.1804, allocations: 18.72 kB / 302.4 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.1806, allocations: 136 kB / 302.5 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1806, allocations: 1.625 kB / 302.5 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1807, allocations: 5.844 kB / 302.5 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1807, allocations: 5.438 kB / 302.5 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.8e-05/0.1808, allocations: 48.83 kB / 302.6 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.1814, allocations: 411.2 kB / 303 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1815, allocations: 97.38 kB / 303.1 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.1816, allocations: 37.97 kB / 303.1 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.1816, allocations: 2.859 kB / 303.1 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1816, allocations: 34.25 kB / 303.1 MB, free: 18.4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1816, allocations: 0 / 303.1 MB, free: 18.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005433/0.1822, allocations: 176.8 kB / 303.3 MB, free: 18.35 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1822, allocations: 80 kB / 303.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.408e-05/0.1823, allocations: 136 kB / 303.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.1823, allocations: 30.95 kB / 303.5 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.1823, allocations: 121.3 kB / 303.7 MB, free: 18.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.1824, allocations: 67.17 kB / 303.7 MB, free: 17.97 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.1824, allocations: 36.25 kB / 303.8 MB, free: 17.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.1825, allocations: 329 kB / 304.1 MB, free: 17.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.1825, allocations: 19.58 kB / 304.1 MB, free: 17.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.544e-05/0.1826, allocations: 81.89 kB / 304.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1827, allocations: 122.6 kB / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1827, allocations: 0 / 304.3 MB, free: 17.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002754/0.183, allocations: 162.4 kB / 304.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.183, allocations: 6.625 kB / 304.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.183, allocations: 3.125 kB / 304.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.1832, allocations: 44.56 kB / 304.5 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1833, allocations: 36.3 kB / 304.5 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.1847, allocations: 2.52 MB / 307.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.082e-05/0.1848, allocations: 15.42 kB / 307.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1848, allocations: 6.219 kB / 307.1 MB, free: 14.98 MB / 282.7 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 8.409e-05/0.1849, allocations: 134 kB / 307.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.1849, allocations: 11.64 kB / 307.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.185, allocations: 19.88 kB / 307.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.185, allocations: 2.312 kB / 307.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.185, allocations: 2.25 kB / 307.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.185, allocations: 1.984 kB / 307.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.1852, allocations: 106.7 kB / 307.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1852, allocations: 1.188 kB / 307.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1853, allocations: 33.38 kB / 307.4 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.1854, allocations: 41.89 kB / 307.4 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1854, allocations: 6.266 kB / 307.4 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.1865, allocations: 2.525 MB / 310 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1865, allocations: 1.094 kB / 310 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.1868, allocations: 316.2 kB / 310.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.1868, allocations: 8.703 kB / 310.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1868, allocations: 5.828 kB / 310.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.1869, allocations: 4.062 kB / 310.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.1869, allocations: 14.95 kB / 310.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.187, allocations: 2 kB / 310.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.839e-05/0.187, allocations: 32.78 kB / 310.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.187, allocations: 0 / 310.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.1873, allocations: 53.36 kB / 310.4 MB, free: 12.05 MB / 282.7 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.0001142/0.1874, allocations: 78.08 kB / 310.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.1878, allocations: 332.6 kB / 310.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.1878, allocations: 1.031 kB / 310.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.188, allocations: 274.7 kB / 311.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1883, allocations: 35.48 kB / 311.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/0.1891, allocations: 424.8 kB / 311.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.987e-05/0.1892, allocations: 76.59 kB / 311.6 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.1892, allocations: 9.25 kB / 311.6 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.394e-05/0.1893, allocations: 72.36 kB / 311.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1893, allocations: 0 / 311.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of Templates: time 0.006247/0.1955, allocations: 2.259 MB / 313.9 MB, free: 10.89 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2849167669191957]