Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001359/0.001359, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001463/0.001463, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.478/1.478, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.2298/0.2298, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3") [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.002378/0.002378, allocations: 83.84 kB / 0.4923 GB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1421, allocations: 65.98 MB / 0.5568 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003121/0.1452, allocations: 1.682 MB / 0.5584 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.1455, allocations: 107.7 kB / 0.5585 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.1456, allocations: 3.938 kB / 0.5585 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.211e-05/0.1457, allocations: 15.86 kB / 0.5585 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.1458, allocations: 35.7 kB / 0.5586 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.1459, allocations: 31.91 kB / 0.5586 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1461, allocations: 123.5 kB / 0.5587 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.1463, allocations: 29.05 kB / 0.5588 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.345e-05/0.1463, allocations: 51.78 kB / 0.5588 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.289e-05/0.1464, allocations: 47.78 kB / 0.5588 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1465, allocations: 16 kB / 0.5589 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.574e-05/0.1465, allocations: 8 kB / 0.5589 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.1465, allocations: 23.92 kB / 0.5589 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.1466, allocations: 55.73 kB / 0.5589 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1468, allocations: 123.5 kB / 0.5591 GB, free: 3.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1468, allocations: 0 / 0.5591 GB, free: 3.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1468, allocations: 0 / 0.5591 GB, free: 3.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1468, allocations: 0 / 0.5591 GB, free: 3.59 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005928/0.1474, allocations: 403.3 kB / 0.5594 GB, free: 3.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1474, allocations: 16.03 kB / 0.5595 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.1475, allocations: 8.891 kB / 0.5595 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1477, allocations: 204.1 kB / 0.5597 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.1477, allocations: 12.61 kB / 0.5597 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.1478, allocations: 12.38 kB / 0.5597 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.148, allocations: 129.5 kB / 0.5598 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.148, allocations: 8.125 kB / 0.5598 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.1481, allocations: 7.938 kB / 0.5598 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1481, allocations: 4 kB / 0.5598 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.1482, allocations: 59.91 kB / 0.5599 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008036/0.149, allocations: 0.5373 MB / 0.5604 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1492, allocations: 85.22 kB / 0.5605 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.1492, allocations: 29.73 kB / 0.5605 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1492, allocations: 7.938 kB / 0.5605 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.1493, allocations: 38.56 kB / 0.5606 GB, free: 1.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.1493, allocations: 0 / 0.5606 GB, free: 1.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000654/0.1499, allocations: 297.5 kB / 0.5609 GB, free: 1.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.15, allocations: 81.11 kB / 0.5609 GB, free: 1.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.1501, allocations: 125.7 kB / 0.5611 GB, free: 1.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1501, allocations: 33.7 kB / 0.5611 GB, free: 1.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.1502, allocations: 115.8 kB / 0.5612 GB, free: 1.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1502, allocations: 35.67 kB / 0.5612 GB, free: 1.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.1503, allocations: 33.66 kB / 0.5613 GB, free: 1.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1504, allocations: 326.8 kB / 0.5616 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.522e-05/0.1505, allocations: 23.98 kB / 0.5616 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1506, allocations: 84.58 kB / 0.5617 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.1507, allocations: 120.5 kB / 0.5618 GB, free: 448 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1507, allocations: 4 kB / 0.5618 GB, free: 444 kB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002905/0.151, allocations: 163.1 kB / 0.5619 GB, free: 268 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1511, allocations: 8 kB / 0.562 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1511, allocations: 4 kB / 0.562 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.1512, allocations: 41.89 kB / 0.562 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.1513, allocations: 23.92 kB / 0.562 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.1536, allocations: 2.735 MB / 0.5647 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.1536, allocations: 15.89 kB / 0.5647 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1536, allocations: 4 kB / 0.5647 GB, free: 13.14 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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.1538, allocations: 121.8 kB / 0.5648 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1538, allocations: 4 kB / 0.5648 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.1538, allocations: 19.91 kB / 0.5649 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1538, allocations: 0 / 0.5649 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1539, allocations: 3.984 kB / 0.5649 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1539, allocations: 0 / 0.5649 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.1541, allocations: 217.5 kB / 0.5651 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1541, allocations: 0 / 0.5651 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.261e-05/0.1542, allocations: 15.98 kB / 0.5651 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.1543, allocations: 33.7 kB / 0.5651 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1544, allocations: 3.938 kB / 0.5651 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.1564, allocations: 2.742 MB / 0.5678 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1564, allocations: 0 / 0.5678 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.1568, allocations: 304.3 kB / 0.5681 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.1568, allocations: 85.14 kB / 0.5682 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1568, allocations: 4 kB / 0.5682 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.1569, allocations: 0 / 0.5682 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.1569, allocations: 16.05 kB / 0.5682 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.157, allocations: 0 / 0.5682 GB, free: 9.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.09e-05/0.157, allocations: 91.28 kB / 0.5683 GB, free: 9.109 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.157, allocations: 0 / 0.5683 GB, free: 9.109 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.1574, allocations: 39.89 kB / 0.5683 GB, free: 9.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001414/0.1575, allocations: 95.23 kB / 0.5684 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005172/0.158, allocations: 309.4 kB / 0.5687 GB, free: 8.641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.158, allocations: 0 / 0.5687 GB, free: 8.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.1583, allocations: 261.2 kB / 0.5689 GB, free: 8.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.1588, allocations: 40.05 kB / 0.569 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008407/0.1597, allocations: 494.2 kB / 0.5695 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.16, allocations: 0.7161 MB / 0.5702 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.16, allocations: 11.44 kB / 0.5702 GB, free: 7.051 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.16, allocations: 0 / 0.5702 GB, free: 7.051 MB / 430.1 MB Notification: Performance of Templates: time 0.004514/0.1646, allocations: 2.451 MB / 0.5726 GB, free: 4.602 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.192168465815485]