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.001505/0.001505, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001693/0.001693, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.623/1.623, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.23/0.23, allocations: 44.9 MB / 355.1 MB, free: 12.34 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",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.002205/0.002205, allocations: 71.88 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1344, allocations: 65.42 MB / 0.5517 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004784/0.1391, allocations: 2.859 MB / 0.5545 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.141, allocations: 0.8139 MB / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.1412, allocations: 15.88 kB / 0.5553 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.1415, allocations: 63.31 kB / 0.5554 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.1418, allocations: 130.9 kB / 0.5555 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.1422, allocations: 119.8 kB / 0.5556 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000568/0.1428, allocations: 446.3 kB / 0.5561 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.1431, allocations: 142.4 kB / 0.5562 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.1435, allocations: 179.4 kB / 0.5564 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.1437, allocations: 191.2 kB / 0.5566 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.38e-05/0.1438, allocations: 36 kB / 0.5566 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1439, allocations: 40 kB / 0.5566 GB, free: 5.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.166e-05/0.144, allocations: 87.62 kB / 0.5567 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.1442, allocations: 207 kB / 0.5569 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.1449, allocations: 465.9 kB / 0.5574 GB, free: 4.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1449, allocations: 4 kB / 0.5574 GB, free: 4.363 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1449, allocations: 0 / 0.5574 GB, free: 4.363 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1449, allocations: 0 / 0.5574 GB, free: 4.363 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.001234/0.1461, allocations: 0.6797 MB / 0.558 GB, free: 3.637 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.1462, allocations: 12.03 kB / 0.558 GB, free: 3.625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.1463, allocations: 82.7 kB / 0.5581 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.1467, allocations: 72.62 kB / 0.5582 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.1472, allocations: 308.5 kB / 0.5585 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.1472, allocations: 29.31 kB / 0.5585 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.688e-05/0.1473, allocations: 48.34 kB / 0.5586 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.148, allocations: 381.2 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.148, allocations: 7.953 kB / 0.5589 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.1481, allocations: 19.98 kB / 0.5589 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.1481, allocations: 8 kB / 0.5589 GB, free: 2.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.1486, allocations: 247.8 kB / 0.5592 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.1505, allocations: 1.101 MB / 0.5603 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.1511, allocations: 331.4 kB / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.1514, allocations: 154.5 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1514, allocations: 4 kB / 0.5607 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.1515, allocations: 46.5 kB / 0.5608 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.585e-06/0.1515, allocations: 0 / 0.5608 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004455/0.1559, allocations: 2.452 MB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.156, allocations: 118.8 kB / 0.5633 GB, free: 13.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.1563, allocations: 242.7 kB / 0.5635 GB, free: 13.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.1563, allocations: 29.7 kB / 0.5635 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1565, allocations: 192.9 kB / 0.5637 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.1567, allocations: 214.1 kB / 0.5639 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1568, allocations: 86.25 kB / 0.564 GB, free: 13.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.157, allocations: 350.7 kB / 0.5643 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.1573, allocations: 129.1 kB / 0.5645 GB, free: 12.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.1576, allocations: 235.7 kB / 0.5647 GB, free: 12.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006904/0.1583, allocations: 390 kB / 0.5651 GB, free: 11.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.1583, allocations: 4 kB / 0.5651 GB, free: 11.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001199/0.1595, allocations: 0.562 MB / 0.5656 GB, free: 11.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.1596, allocations: 6.188 kB / 0.5656 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.1596, allocations: 7.984 kB / 0.5656 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004194/0.16, allocations: 122.5 kB / 0.5657 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.1604, allocations: 103.9 kB / 0.5658 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005059/0.1655, allocations: 5.21 MB / 0.5709 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.1658, allocations: 23.92 kB / 0.571 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.1658, allocations: 19.98 kB / 0.571 GB, free: 5.367 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.0002418/0.1661, allocations: 169.8 kB / 0.5711 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.1662, allocations: 39.77 kB / 0.5712 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.1663, allocations: 50.17 kB / 0.5712 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1663, allocations: 4 kB / 0.5712 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/0.1663, allocations: 7.938 kB / 0.5712 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.1663, allocations: 3.984 kB / 0.5712 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.1686, allocations: 1.319 MB / 0.5725 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.1686, allocations: 3.984 kB / 0.5725 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.1691, allocations: 95.89 kB / 0.5726 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.1694, allocations: 98.39 kB / 0.5727 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.1695, allocations: 12 kB / 0.5727 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004273/0.1737, allocations: 4.439 MB / 0.5771 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.1737, allocations: 4.031 kB / 0.5771 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.1754, allocations: 0.9234 MB / 0.578 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.1756, allocations: 108.9 kB / 0.5781 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.1756, allocations: 12.06 kB / 0.5781 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.1759, allocations: 19.98 kB / 0.5781 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.1761, allocations: 51.81 kB / 0.5782 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.1761, allocations: 16 kB / 0.5782 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.1763, allocations: 174 kB / 0.5783 GB, free: 13.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1763, allocations: 0 / 0.5783 GB, free: 13.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007763/0.1771, allocations: 124 kB / 0.5785 GB, free: 13.14 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.001884/0.179, allocations: 1.47 MB / 0.5799 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.1805, allocations: 0.7618 MB / 0.5806 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1805, allocations: 4 kB / 0.5806 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009456/0.1814, allocations: 0.5639 MB / 0.5812 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.1822, allocations: 64.66 kB / 0.5812 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/0.189, allocations: 4.173 MB / 0.5853 GB, free: 5.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.1895, allocations: 0.8241 MB / 0.5861 GB, free: 4.938 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.1897, allocations: 31.27 kB / 0.5862 GB, free: 4.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.1899, allocations: 131.4 kB / 0.5863 GB, free: 4.781 MB / 446.1 MB Notification: Performance of SimCode: time 1.814e-06/0.1899, allocations: 0 / 0.5863 GB, free: 4.781 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3114/0.5013, allocations: 8.446 MB / 0.5945 GB, free: 39.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.61, allocations: 4.078 kB / 0.5945 GB, free: 39.12 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 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.csv","/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] "Error: Could not read variable J2.phi in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.934876261744648]