Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001402/0.001402, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001545/0.001545, allocations: 215 kB / 21.45 MB, free: 1.617 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.586/1.586, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2507/0.2507, allocations: 44.91 MB / 355.8 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.89 kB / 0.4885 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.142, allocations: 65.42 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004971/0.147, allocations: 2.871 MB / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1489, allocations: 0.8101 MB / 0.556 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.1493, allocations: 11.94 kB / 0.556 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.1496, allocations: 71.31 kB / 0.5561 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.15, allocations: 118.9 kB / 0.5562 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.1505, allocations: 119.8 kB / 0.5563 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000642/0.1511, allocations: 450.3 kB / 0.5568 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.1514, allocations: 138.4 kB / 0.5569 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.1518, allocations: 187.3 kB / 0.5571 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.1522, allocations: 195.1 kB / 0.5573 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.745e-05/0.1522, allocations: 32 kB / 0.5573 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1524, allocations: 48 kB / 0.5573 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.1525, allocations: 83.69 kB / 0.5574 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.1527, allocations: 199 kB / 0.5576 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006519/0.1534, allocations: 465.9 kB / 0.558 GB, free: 4.363 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1534, allocations: 4 kB / 0.558 GB, free: 4.359 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1534, allocations: 0 / 0.558 GB, free: 4.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.1534, allocations: 4 kB / 0.558 GB, free: 4.355 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001476/0.1549, allocations: 0.682 MB / 0.5587 GB, free: 3.625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.1549, allocations: 8.031 kB / 0.5587 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.191e-05/0.155, allocations: 13.19 kB / 0.5587 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.1551, allocations: 82.64 kB / 0.5588 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004195/0.1555, allocations: 72.62 kB / 0.5589 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.1561, allocations: 300.5 kB / 0.5592 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.1561, allocations: 29.38 kB / 0.5592 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.1562, allocations: 44.38 kB / 0.5592 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008327/0.1571, allocations: 381 kB / 0.5596 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.1571, allocations: 19.83 kB / 0.5596 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.1571, allocations: 16 kB / 0.5596 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.1571, allocations: 8 kB / 0.5596 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.1577, allocations: 247.8 kB / 0.5599 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.1597, allocations: 1.105 MB / 0.561 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.1603, allocations: 327.5 kB / 0.5613 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.1607, allocations: 154.5 kB / 0.5614 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.1607, allocations: 11.92 kB / 0.5614 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.1607, allocations: 46.5 kB / 0.5615 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 3.697e-06/0.1607, allocations: 0 / 0.5615 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004654/0.1654, allocations: 2.448 MB / 0.5639 GB, free: 13.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1655, allocations: 114.8 kB / 0.564 GB, free: 13.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.1658, allocations: 254.6 kB / 0.5642 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.1659, allocations: 33.7 kB / 0.5643 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.166, allocations: 184.9 kB / 0.5644 GB, free: 13.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.1662, allocations: 222.1 kB / 0.5646 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.1664, allocations: 82.25 kB / 0.5647 GB, free: 12.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.1666, allocations: 346.8 kB / 0.565 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.1669, allocations: 129.1 kB / 0.5652 GB, free: 12.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.1673, allocations: 231.8 kB / 0.5654 GB, free: 12.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/0.168, allocations: 398 kB / 0.5658 GB, free: 11.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.168, allocations: 0 / 0.5658 GB, free: 11.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001228/0.1692, allocations: 0.5578 MB / 0.5663 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.1692, allocations: 10.19 kB / 0.5663 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.1692, allocations: 4 kB / 0.5663 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/0.1697, allocations: 118.5 kB / 0.5664 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.1701, allocations: 103.9 kB / 0.5665 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005245/0.1753, allocations: 5.21 MB / 0.5716 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.1756, allocations: 16.03 kB / 0.5716 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.1757, allocations: 20 kB / 0.5717 GB, free: 5.359 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002392/0.1759, allocations: 171.1 kB / 0.5718 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.1761, allocations: 39.77 kB / 0.5719 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.1762, allocations: 50.11 kB / 0.5719 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.1762, allocations: 11.94 kB / 0.5719 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.1762, allocations: 4 kB / 0.5719 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1762, allocations: 0 / 0.5719 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.1785, allocations: 1.32 MB / 0.5732 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1785, allocations: 4.094 kB / 0.5732 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.1789, allocations: 103.8 kB / 0.5733 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003196/0.1793, allocations: 98.44 kB / 0.5734 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.1793, allocations: 15.94 kB / 0.5734 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004104/0.1834, allocations: 4.431 MB / 0.5778 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.1834, allocations: 4.031 kB / 0.5778 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.185, allocations: 0.9234 MB / 0.5787 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1851, allocations: 112.9 kB / 0.5788 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.1851, allocations: 12.06 kB / 0.5788 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.1854, allocations: 16 kB / 0.5788 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.1855, allocations: 44.06 kB / 0.5788 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.1855, allocations: 19.98 kB / 0.5789 GB, free: 13.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.1857, allocations: 178 kB / 0.579 GB, free: 13.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1857, allocations: 0 / 0.579 GB, free: 13.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007679/0.1865, allocations: 124 kB / 0.5791 GB, free: 13.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.001889/0.1884, allocations: 1.478 MB / 0.5806 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.19, allocations: 0.7537 MB / 0.5813 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.19, allocations: 4.188 kB / 0.5813 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000875/0.1908, allocations: 0.5582 MB / 0.5819 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.1916, allocations: 68.94 kB / 0.5819 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006473/0.198, allocations: 4.18 MB / 0.586 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.1986, allocations: 0.8202 MB / 0.5868 GB, free: 4.926 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.1987, allocations: 35.27 kB / 0.5869 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.1989, allocations: 131.4 kB / 0.587 GB, free: 4.766 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.1989, allocations: 0 / 0.587 GB, free: 4.766 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.308/0.5069, allocations: 8.489 MB / 0.5953 GB, free: 39.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.78, allocations: 6.578 kB / 0.5953 GB, free: 39.38 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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: 15.292061265034135]