Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001849/0.001849, allocations: 121.3 kB / 19.18 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002537/0.002537, allocations: 206.5 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.3 MB / 255.2 MB, free: 15.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.244/0.244, allocations: 46.91 MB / 358.2 MB, free: 10.45 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 79.88 kB / 0.4925 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1281, allocations: 65.99 MB / 0.5569 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003576/0.1317, allocations: 1.877 MB / 0.5588 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004269/0.1321, allocations: 151.4 kB / 0.5589 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1322, allocations: 7.938 kB / 0.5589 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.953e-05/0.1323, allocations: 23.8 kB / 0.5589 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1325, allocations: 51.55 kB / 0.559 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.1326, allocations: 43.89 kB / 0.559 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1329, allocations: 179.2 kB / 0.5592 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.133, allocations: 41.53 kB / 0.5593 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.1331, allocations: 71.72 kB / 0.5593 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1333, allocations: 75.64 kB / 0.5594 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.1333, allocations: 16 kB / 0.5594 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.988e-05/0.1333, allocations: 16 kB / 0.5594 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.1334, allocations: 31.91 kB / 0.5595 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1335, allocations: 87.59 kB / 0.5595 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.1337, allocations: 179.3 kB / 0.5597 GB, free: 2.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1338, allocations: 0 / 0.5597 GB, free: 2.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1338, allocations: 0 / 0.5597 GB, free: 2.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1338, allocations: 0 / 0.5597 GB, free: 2.727 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.0006759/0.1344, allocations: 455 kB / 0.5601 GB, free: 2.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1345, allocations: 16.03 kB / 0.5602 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.1346, allocations: 20.78 kB / 0.5602 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1348, allocations: 204.2 kB / 0.5604 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1348, allocations: 16.64 kB / 0.5604 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.1349, allocations: 20.31 kB / 0.5604 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.1352, allocations: 162.2 kB / 0.5606 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.1352, allocations: 4.172 kB / 0.5606 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.1352, allocations: 19.92 kB / 0.5606 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1352, allocations: 4 kB / 0.5606 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.1354, allocations: 91.89 kB / 0.5607 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/0.1363, allocations: 0.6035 MB / 0.5613 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.1365, allocations: 125.2 kB / 0.5614 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.401e-05/0.1366, allocations: 49.7 kB / 0.5614 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1366, allocations: 8.062 kB / 0.5614 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1367, allocations: 38.55 kB / 0.5615 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1367, allocations: 0 / 0.5615 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008291/0.1375, allocations: 377.3 kB / 0.5618 GB, free: 308 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.1375, allocations: 81.11 kB / 0.5619 GB, free: 208 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1377, allocations: 127.9 kB / 0.562 GB, free: 68 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1377, allocations: 29.7 kB / 0.5621 GB, free: 32 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.1378, allocations: 136.2 kB / 0.5622 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.1379, allocations: 59.47 kB / 0.5623 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.1379, allocations: 37.72 kB / 0.5623 GB, free: 15.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1381, allocations: 322.8 kB / 0.5626 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.1381, allocations: 35.98 kB / 0.5626 GB, free: 15.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1383, allocations: 108.5 kB / 0.5627 GB, free: 15.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.1385, allocations: 152.5 kB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1385, allocations: 0 / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004027/0.1389, allocations: 223.2 kB / 0.5631 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1389, allocations: 8.453 kB / 0.5631 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1389, allocations: 7.938 kB / 0.5631 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.1392, allocations: 45.94 kB / 0.5631 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1393, allocations: 35.98 kB / 0.5632 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.1419, allocations: 2.999 MB / 0.5661 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.845e-05/0.142, allocations: 27.8 kB / 0.5661 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.142, allocations: 4.156 kB / 0.5661 GB, free: 11.47 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.0001339/0.1422, allocations: 133.8 kB / 0.5663 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.1422, allocations: 15.91 kB / 0.5663 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.1423, allocations: 20.78 kB / 0.5663 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1423, allocations: 7.984 kB / 0.5663 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1423, allocations: 0 / 0.5663 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1423, allocations: 0 / 0.5663 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.1426, allocations: 233.6 kB / 0.5665 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1426, allocations: 4 kB / 0.5665 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.1428, allocations: 31.92 kB / 0.5666 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.1429, allocations: 41.7 kB / 0.5666 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.1429, allocations: 7.938 kB / 0.5666 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.1454, allocations: 2.986 MB / 0.5695 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1454, allocations: 4.031 kB / 0.5695 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.1459, allocations: 376.5 kB / 0.5699 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.1459, allocations: 89 kB / 0.57 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1459, allocations: 4.062 kB / 0.57 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1461, allocations: 3.938 kB / 0.57 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1461, allocations: 15.98 kB / 0.57 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.1461, allocations: 4 kB / 0.57 GB, free: 7.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.04e-05/0.1462, allocations: 104.9 kB / 0.5701 GB, free: 7.031 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1462, allocations: 0 / 0.5701 GB, free: 7.031 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004654/0.1466, allocations: 51.95 kB / 0.5702 GB, free: 6.98 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.0001334/0.1468, allocations: 103.2 kB / 0.5703 GB, free: 6.871 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.1474, allocations: 349.4 kB / 0.5706 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1474, allocations: 0 / 0.5706 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.1477, allocations: 273.3 kB / 0.5708 GB, free: 6.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.1482, allocations: 41.62 kB / 0.5709 GB, free: 6.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1494, allocations: 0.6762 MB / 0.5715 GB, free: 5.461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.1498, allocations: 0.7281 MB / 0.5723 GB, free: 4.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.1498, allocations: 15.44 kB / 0.5723 GB, free: 4.691 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1498, allocations: 0 / 0.5723 GB, free: 4.691 MB / 430.1 MB Notification: Performance of Templates: time 0.005829/0.1556, allocations: 3.166 MB / 0.5754 GB, free: 1.531 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.166238573001465]