Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001888/0.001888, 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.002469/0.002469, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.525/1.525, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.247/0.247, allocations: 46.92 MB / 357.1 MB, free: 10.31 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+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_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 60.05 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1399, allocations: 66 MB / 0.5554 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003126/0.143, allocations: 1.683 MB / 0.557 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003065/0.1433, allocations: 107.6 kB / 0.5571 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.1433, allocations: 0 / 0.5571 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.79e-05/0.1434, allocations: 15.86 kB / 0.5571 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.1435, allocations: 43.64 kB / 0.5572 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.1437, allocations: 23.97 kB / 0.5572 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1438, allocations: 135.4 kB / 0.5573 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.144, allocations: 21.12 kB / 0.5573 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.1441, allocations: 47.84 kB / 0.5574 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.525e-05/0.1442, allocations: 51.77 kB / 0.5574 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.1442, allocations: 12 kB / 0.5574 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.083e-05/0.1442, allocations: 8 kB / 0.5574 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.1442, allocations: 23.94 kB / 0.5575 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.1443, allocations: 55.73 kB / 0.5575 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1445, allocations: 127.5 kB / 0.5576 GB, free: 3.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1445, allocations: 0 / 0.5576 GB, free: 3.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1445, allocations: 0 / 0.5576 GB, free: 3.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1445, allocations: 0 / 0.5576 GB, free: 3.5 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.0005811/0.1451, allocations: 411.1 kB / 0.558 GB, free: 3.043 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1451, allocations: 12.03 kB / 0.558 GB, free: 3.031 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.1452, allocations: 46.73 kB / 0.5581 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1452, allocations: 12.89 kB / 0.5581 GB, free: 2.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1454, allocations: 200.2 kB / 0.5583 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1455, allocations: 8.609 kB / 0.5583 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.1455, allocations: 12.38 kB / 0.5583 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.1457, allocations: 123.9 kB / 0.5584 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1458, allocations: 11.83 kB / 0.5584 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1458, allocations: 8 kB / 0.5584 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1458, allocations: 0 / 0.5584 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.1459, allocations: 63.89 kB / 0.5585 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007919/0.1467, allocations: 0.5373 MB / 0.559 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1469, allocations: 97.14 kB / 0.5591 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/0.1469, allocations: 25.66 kB / 0.5591 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.1469, allocations: 0 / 0.5591 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.147, allocations: 34.64 kB / 0.5592 GB, free: 1.715 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.147, allocations: 0 / 0.5592 GB, free: 1.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006817/0.1476, allocations: 305.4 kB / 0.5595 GB, free: 1.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.1477, allocations: 81.11 kB / 0.5596 GB, free: 1.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1478, allocations: 125.8 kB / 0.5597 GB, free: 1.137 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1478, allocations: 25.7 kB / 0.5597 GB, free: 1.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.1479, allocations: 119.8 kB / 0.5598 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1479, allocations: 31.73 kB / 0.5598 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.148, allocations: 29.72 kB / 0.5599 GB, free: 0.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1482, allocations: 322.8 kB / 0.5602 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/0.1482, allocations: 27.98 kB / 0.5602 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.886e-05/0.1483, allocations: 88.52 kB / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1484, allocations: 120.5 kB / 0.5604 GB, free: 308 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1484, allocations: 0 / 0.5604 GB, free: 308 kB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002932/0.1487, allocations: 167.1 kB / 0.5606 GB, free: 128 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1488, allocations: 4 kB / 0.5606 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1488, allocations: 7.938 kB / 0.5606 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.149, allocations: 33.7 kB / 0.5606 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.149, allocations: 28.23 kB / 0.5606 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.1514, allocations: 2.739 MB / 0.5633 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.748e-05/0.1515, allocations: 11.89 kB / 0.5633 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.1515, allocations: 12 kB / 0.5633 GB, free: 13 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.0001347/0.1516, allocations: 123.1 kB / 0.5634 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.1517, allocations: 7.938 kB / 0.5635 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.1517, allocations: 11.91 kB / 0.5635 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1517, allocations: 8 kB / 0.5635 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1517, allocations: 0 / 0.5635 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1517, allocations: 4 kB / 0.5635 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.152, allocations: 205.5 kB / 0.5637 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.152, allocations: 0 / 0.5637 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.1521, allocations: 15.98 kB / 0.5637 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.1522, allocations: 41.64 kB / 0.5637 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1522, allocations: 0 / 0.5637 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.1544, allocations: 2.734 MB / 0.5664 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1544, allocations: 4.156 kB / 0.5664 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1548, allocations: 312.8 kB / 0.5667 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.1548, allocations: 77.11 kB / 0.5668 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1549, allocations: 11.97 kB / 0.5668 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.155, allocations: 4 kB / 0.5668 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.155, allocations: 8 kB / 0.5668 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.155, allocations: 4 kB / 0.5668 GB, free: 9.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.615e-05/0.1551, allocations: 99.14 kB / 0.5669 GB, free: 8.961 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1551, allocations: 0 / 0.5669 GB, free: 8.961 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.1555, allocations: 39.89 kB / 0.5669 GB, free: 8.922 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.0007058/0.1562, allocations: 0.8383 MB / 0.5678 GB, free: 8.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.1567, allocations: 305.4 kB / 0.568 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1567, allocations: 0.5 kB / 0.568 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.157, allocations: 257.4 kB / 0.5683 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.1575, allocations: 23.92 kB / 0.5683 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.1599, allocations: 1.983 MB / 0.5702 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1602, allocations: 0.7045 MB / 0.5709 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.1603, allocations: 8.875 kB / 0.5709 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.1604, allocations: 31.44 kB / 0.571 GB, free: 4.523 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1604, allocations: 0 / 0.571 GB, free: 4.523 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.1943, allocations: 3.031 MB / 0.5739 GB, free: 1.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.38, allocations: 8.703 kB / 0.5739 GB, free: 1.613 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J1.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! Error: Could not read variable J3.phi in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv. Warning: Get data of variable J3.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.68266726200818]