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.001386/0.001386, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001166/0.001166, allocations: 169 kB / 24.14 MB, free: 356 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 0.9022/0.9022, allocations: 158.6 MB / 186 MB, free: 2.77 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.1324/0.1324, allocations: 32.38 MB / 270.7 MB, free: 14.61 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 1.523e-06/1.523e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.134e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00338/0.003401, allocations: 1.901 MB / 301 MB, free: 268 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005161/0.003917, allocations: 159.3 kB / 301.2 MB, free: 108 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.004003, allocations: 7.938 kB / 301.2 MB, free: 100 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.651e-05/0.004069, allocations: 19.8 kB / 301.2 MB, free: 80 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.004243, allocations: 59.42 kB / 301.2 MB, free: 20 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1444/0.1486, allocations: 37.06 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.1489, allocations: 187.5 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.149, allocations: 41.42 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.1492, allocations: 105.6 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1493, allocations: 57.73 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.1493, allocations: 13.78 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.1493, allocations: 14.53 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.1494, allocations: 31.91 kB / 301.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.1494, allocations: 63.45 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1496, allocations: 121.4 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1496, allocations: 0 / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1496, allocations: 1.156 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1496, allocations: 0 / 301.9 MB, free: 19.2 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.0003069/0.1499, allocations: 357.8 kB / 302.2 MB, free: 18.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.1499, allocations: 9.188 kB / 302.3 MB, free: 18.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.15, allocations: 28.75 kB / 302.3 MB, free: 18.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1501, allocations: 140 kB / 302.4 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1501, allocations: 11.39 kB / 302.4 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1501, allocations: 18.56 kB / 302.4 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1503, allocations: 137.7 kB / 302.6 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1503, allocations: 4.219 kB / 302.6 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1503, allocations: 5.281 kB / 302.6 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.1503, allocations: 7.469 kB / 302.6 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.32e-05/0.1504, allocations: 47.3 kB / 302.6 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.1508, allocations: 410.6 kB / 303 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1509, allocations: 91.25 kB / 303.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.1509, allocations: 37.05 kB / 303.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.1509, allocations: 5.656 kB / 303.2 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.151, allocations: 34.53 kB / 303.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.151, allocations: 0.7812 kB / 303.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003681/0.1513, allocations: 173.8 kB / 303.4 MB, free: 18.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.1514, allocations: 80.95 kB / 303.5 MB, free: 18.22 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.1514, allocations: 139 kB / 303.6 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.1514, allocations: 34.3 kB / 303.6 MB, free: 18.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.1515, allocations: 124.8 kB / 303.8 MB, free: 17.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1515, allocations: 62.2 kB / 303.8 MB, free: 17.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.1515, allocations: 35.44 kB / 303.8 MB, free: 17.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.799e-05/0.1516, allocations: 329.5 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.1516, allocations: 14.8 kB / 304.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.1516, allocations: 84.41 kB / 304.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.808e-05/0.1517, allocations: 121.8 kB / 304.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1517, allocations: 1.125 kB / 304.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001749/0.1519, allocations: 162.2 kB / 304.5 MB, free: 17.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1519, allocations: 5.625 kB / 304.5 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1519, allocations: 2.594 kB / 304.6 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.1521, allocations: 44.59 kB / 304.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1522, allocations: 47.66 kB / 304.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009373/0.1531, allocations: 2.527 MB / 307.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.1532, allocations: 14.03 kB / 307.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1532, allocations: 12.38 kB / 307.2 MB, free: 14.95 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 5.337e-05/0.1532, allocations: 122.6 kB / 307.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.1533, allocations: 20.33 kB / 307.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.1533, allocations: 15.89 kB / 307.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1533, allocations: 2.094 kB / 307.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1533, allocations: 5.25 kB / 307.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1533, allocations: 2.188 kB / 307.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.1534, allocations: 108.2 kB / 307.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1534, allocations: 3.312 kB / 307.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.293e-05/0.1535, allocations: 31.62 kB / 307.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.042e-05/0.1536, allocations: 45.27 kB / 307.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1536, allocations: 4.984 kB / 307.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008475/0.1545, allocations: 2.53 MB / 310.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1545, allocations: 1.406 kB / 310.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.1547, allocations: 317.3 kB / 310.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.1547, allocations: 7.906 kB / 310.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.1547, allocations: 2.969 kB / 310.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/0.1547, allocations: 5.594 kB / 310.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.1548, allocations: 10.28 kB / 310.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1548, allocations: 10.94 kB / 310.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.877e-05/0.1548, allocations: 26.5 kB / 310.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1548, allocations: 0 / 310.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.1551, allocations: 52.92 kB / 310.5 MB, free: 12.03 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 6.707e-05/0.1552, allocations: 83.3 kB / 310.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.1554, allocations: 326.1 kB / 310.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1554, allocations: 1.281 kB / 310.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.1556, allocations: 280.6 kB / 311.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.1558, allocations: 34.31 kB / 311.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.1564, allocations: 420.3 kB / 311.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.684e-05/0.1564, allocations: 76.48 kB / 311.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.1565, allocations: 16.86 kB / 311.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.1565, allocations: 74.41 kB / 311.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1565, allocations: 0 / 311.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of Templates: time 0.004908/0.1614, allocations: 2.353 MB / 314.1 MB, free: 10.79 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 -s gbode -gbm=radauIIA3 -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: 2.829085480887443]