Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001899/0.001899, allocations: 119.1 kB / 18.46 MB, free: 4.602 MB / 14.72 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.002514/0.002514, allocations: 215.2 kB / 21.42 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2344/0.2344, allocations: 46.91 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 71.89 kB / 0.4921 GB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1384, allocations: 65.99 MB / 0.5565 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003572/0.1419, allocations: 1.874 MB / 0.5583 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003654/0.1423, allocations: 143.5 kB / 0.5585 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.1424, allocations: 3.938 kB / 0.5585 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.429e-05/0.1424, allocations: 27.78 kB / 0.5585 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1426, allocations: 51.55 kB / 0.5585 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.1428, allocations: 43.89 kB / 0.5586 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.143, allocations: 183.2 kB / 0.5588 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.1432, allocations: 41.53 kB / 0.5588 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1433, allocations: 67.73 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1434, allocations: 83.62 kB / 0.5589 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.1435, allocations: 16 kB / 0.559 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.782e-05/0.1435, allocations: 12 kB / 0.559 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.1435, allocations: 35.91 kB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.138e-05/0.1436, allocations: 79.61 kB / 0.5591 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1439, allocations: 183.3 kB / 0.5593 GB, free: 2.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1439, allocations: 0 / 0.5593 GB, free: 2.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1439, allocations: 0 / 0.5593 GB, free: 2.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1439, allocations: 0 / 0.5593 GB, free: 2.543 MB / 414.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.0007471/0.1447, allocations: 463 kB / 0.5597 GB, free: 2.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1447, allocations: 12.03 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.1448, allocations: 16.84 kB / 0.5597 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.145, allocations: 204.2 kB / 0.5599 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.145, allocations: 12.7 kB / 0.5599 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.1451, allocations: 20.33 kB / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.1454, allocations: 170.1 kB / 0.5601 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.1454, allocations: 4.188 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.1454, allocations: 15.94 kB / 0.5601 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1454, allocations: 7.938 kB / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.1456, allocations: 86.14 kB / 0.5602 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/0.1465, allocations: 0.6151 MB / 0.5608 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1467, allocations: 125.2 kB / 0.5609 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.1468, allocations: 49.7 kB / 0.561 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1468, allocations: 0 / 0.561 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1469, allocations: 38.69 kB / 0.561 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1469, allocations: 0 / 0.561 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008765/0.1478, allocations: 377.3 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.1478, allocations: 81.11 kB / 0.5615 GB, free: 20 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.148, allocations: 126.1 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.148, allocations: 33.7 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.1481, allocations: 132.2 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.1482, allocations: 59.47 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.1482, allocations: 41.7 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1484, allocations: 322.8 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.1484, allocations: 35.98 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.1486, allocations: 108.5 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.1488, allocations: 152.8 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1488, allocations: 0 / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003888/0.1492, allocations: 227.1 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1492, allocations: 5.875 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1492, allocations: 4 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002509/0.1494, allocations: 57.56 kB / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1496, allocations: 31.98 kB / 0.5627 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.1523, allocations: 2.995 MB / 0.5657 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.291e-05/0.1524, allocations: 24.08 kB / 0.5657 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1524, allocations: 4 kB / 0.5657 GB, free: 11.29 MB / 430.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.00015/0.1526, allocations: 129.8 kB / 0.5658 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.1526, allocations: 15.91 kB / 0.5658 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.1527, allocations: 16.66 kB / 0.5659 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1527, allocations: 4 kB / 0.5659 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1527, allocations: 0 / 0.5659 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1527, allocations: 7.984 kB / 0.5659 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.153, allocations: 229.6 kB / 0.5661 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.153, allocations: 0 / 0.5661 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.1532, allocations: 31.92 kB / 0.5661 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/0.1533, allocations: 45.69 kB / 0.5662 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1533, allocations: 7.938 kB / 0.5662 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/0.1557, allocations: 2.99 MB / 0.5691 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1557, allocations: 0 / 0.5691 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.1562, allocations: 372.6 kB / 0.5694 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1563, allocations: 89 kB / 0.5695 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1563, allocations: 4.062 kB / 0.5695 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1564, allocations: 3.938 kB / 0.5695 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.1564, allocations: 19.97 kB / 0.5696 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1564, allocations: 8 kB / 0.5696 GB, free: 6.953 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.601e-05/0.1565, allocations: 97.52 kB / 0.5697 GB, free: 6.859 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1565, allocations: 0 / 0.5697 GB, free: 6.859 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004517/0.1569, allocations: 55.95 kB / 0.5697 GB, free: 6.805 MB / 430.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.0001455/0.1571, allocations: 104.2 kB / 0.5698 GB, free: 6.695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.1578, allocations: 357.4 kB / 0.5701 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1578, allocations: 0 / 0.5701 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.1581, allocations: 277.3 kB / 0.5704 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.1586, allocations: 27.92 kB / 0.5704 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1599, allocations: 0.6786 MB / 0.5711 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.1603, allocations: 0.7242 MB / 0.5718 GB, free: 4.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.1603, allocations: 15.44 kB / 0.5718 GB, free: 4.516 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1603, allocations: 0 / 0.5718 GB, free: 4.516 MB / 430.1 MB Notification: Performance of Templates: time 0.00583/0.1661, allocations: 3.155 MB / 0.5749 GB, free: 1.363 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.733373675990151]