Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001325/0.001325, allocations: 123.4 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.001576/0.001576, allocations: 209.6 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.542/1.542, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2593/0.2593, allocations: 44.9 MB / 355.1 MB, free: 12.31 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.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.002016/0.002016, allocations: 67.89 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1278, allocations: 65.43 MB / 0.5517 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00294/0.1308, allocations: 1.677 MB / 0.5534 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002954/0.1311, allocations: 107.6 kB / 0.5535 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.1311, allocations: 0 / 0.5535 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.229e-05/0.1312, allocations: 19.8 kB / 0.5535 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1313, allocations: 35.7 kB / 0.5535 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.1314, allocations: 31.95 kB / 0.5536 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1316, allocations: 127.3 kB / 0.5537 GB, free: 8.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1317, allocations: 25.12 kB / 0.5537 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.1318, allocations: 59.83 kB / 0.5538 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/0.1319, allocations: 47.78 kB / 0.5538 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.1319, allocations: 8 kB / 0.5538 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.234e-05/0.1319, allocations: 12 kB / 0.5538 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.132, allocations: 15.88 kB / 0.5538 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.009e-05/0.132, allocations: 63.73 kB / 0.5539 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1322, allocations: 131.7 kB / 0.554 GB, free: 7.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1322, allocations: 0 / 0.554 GB, free: 7.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.1322, allocations: 4 kB / 0.554 GB, free: 7.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1322, allocations: 0 / 0.554 GB, free: 7.781 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.0005408/0.1328, allocations: 407.3 kB / 0.5544 GB, free: 7.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1328, allocations: 8.031 kB / 0.5544 GB, free: 7.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.1329, allocations: 46.73 kB / 0.5545 GB, free: 7.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.1329, allocations: 12.89 kB / 0.5545 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.1331, allocations: 196.2 kB / 0.5547 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1331, allocations: 4.609 kB / 0.5547 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.1332, allocations: 16.38 kB / 0.5547 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1334, allocations: 127.9 kB / 0.5548 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1334, allocations: 11.89 kB / 0.5548 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1334, allocations: 11.92 kB / 0.5548 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1334, allocations: 7.984 kB / 0.5548 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1335, allocations: 55.97 kB / 0.5549 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007584/0.1343, allocations: 0.5335 MB / 0.5554 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.1344, allocations: 81.16 kB / 0.5555 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.1345, allocations: 29.66 kB / 0.5555 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.1345, allocations: 4.078 kB / 0.5555 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.1345, allocations: 38.5 kB / 0.5556 GB, free: 6.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.1345, allocations: 4 kB / 0.5556 GB, free: 6.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006008/0.1351, allocations: 297.5 kB / 0.5559 GB, free: 5.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1352, allocations: 81.05 kB / 0.5559 GB, free: 5.566 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1353, allocations: 129.7 kB / 0.5561 GB, free: 5.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1353, allocations: 25.7 kB / 0.5561 GB, free: 5.398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.1354, allocations: 115.9 kB / 0.5562 GB, free: 5.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.1354, allocations: 43.72 kB / 0.5562 GB, free: 5.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.1354, allocations: 25.72 kB / 0.5563 GB, free: 5.207 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1356, allocations: 322.8 kB / 0.5566 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.1356, allocations: 27.98 kB / 0.5566 GB, free: 4.855 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-05/0.1357, allocations: 86.62 kB / 0.5567 GB, free: 4.734 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1359, allocations: 120.5 kB / 0.5568 GB, free: 4.586 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1359, allocations: 4 kB / 0.5568 GB, free: 4.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002793/0.1362, allocations: 163.5 kB / 0.5569 GB, free: 4.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1362, allocations: 8.25 kB / 0.557 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1362, allocations: 7.938 kB / 0.557 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.1364, allocations: 33.7 kB / 0.557 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.1365, allocations: 31.92 kB / 0.557 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.1386, allocations: 2.742 MB / 0.5597 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.834e-05/0.1387, allocations: 7.953 kB / 0.5597 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1387, allocations: 11.94 kB / 0.5597 GB, free: 1.281 MB / 414.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.0001236/0.1388, allocations: 125.9 kB / 0.5598 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.1389, allocations: 11.94 kB / 0.5599 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.1389, allocations: 7.906 kB / 0.5599 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1389, allocations: 4 kB / 0.5599 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1389, allocations: 0 / 0.5599 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1389, allocations: 3.984 kB / 0.5599 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.1392, allocations: 197.6 kB / 0.5601 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1392, allocations: 0 / 0.5601 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.1393, allocations: 15.98 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.1394, allocations: 45.58 kB / 0.5601 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1394, allocations: 4 kB / 0.5601 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.1415, allocations: 2.73 MB / 0.5628 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1415, allocations: 0 / 0.5628 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1418, allocations: 312.2 kB / 0.5631 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.1419, allocations: 89.14 kB / 0.5632 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1419, allocations: 4.031 kB / 0.5632 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.142, allocations: 4 kB / 0.5632 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.142, allocations: 7.938 kB / 0.5632 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.142, allocations: 4 kB / 0.5632 GB, free: 13.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.668e-05/0.1421, allocations: 91.27 kB / 0.5633 GB, free: 13.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1421, allocations: 0 / 0.5633 GB, free: 13.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003537/0.1424, allocations: 35.95 kB / 0.5633 GB, free: 13.21 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.0006329/0.143, allocations: 0.8371 MB / 0.5641 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005071/0.1436, allocations: 313.8 kB / 0.5644 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1436, allocations: 0 / 0.5644 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.1438, allocations: 253.4 kB / 0.5647 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.1443, allocations: 24.69 kB / 0.5647 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.1465, allocations: 1.995 MB / 0.5666 GB, free: 9.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1469, allocations: 0.7084 MB / 0.5673 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.802e-05/0.1469, allocations: 8.875 kB / 0.5673 GB, free: 8.832 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.147, allocations: 27.44 kB / 0.5674 GB, free: 8.805 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.147, allocations: 0 / 0.5674 GB, free: 8.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03941/0.1864, allocations: 3.032 MB / 0.5703 GB, free: 5.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.76, allocations: 2.109 kB / 0.5703 GB, free: 5.898 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_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_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J1.phi in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.945923827122897]