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.002173/0.002173, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001928/0.001928, allocations: 206.7 kB / 23.73 MB, free: 4.398 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2173/0.2173, allocations: 44.94 MB / 358.9 MB, free: 6.039 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.002471/0.002471, allocations: 63.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3955, allocations: 65.48 MB / 0.557 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005676/0.4012, allocations: 2.654 MB / 0.5596 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.4032, allocations: 0.7634 MB / 0.5603 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.4034, allocations: 11.94 kB / 0.5603 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.4037, allocations: 63.31 kB / 0.5604 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.4041, allocations: 130.9 kB / 0.5605 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.4046, allocations: 119.8 kB / 0.5606 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007405/0.4053, allocations: 454.3 kB / 0.561 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.4057, allocations: 124.6 kB / 0.5612 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.4061, allocations: 187.3 kB / 0.5613 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.4065, allocations: 171.1 kB / 0.5615 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.835e-05/0.4066, allocations: 39.94 kB / 0.5615 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.4067, allocations: 40 kB / 0.5616 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.4068, allocations: 75.75 kB / 0.5617 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.407, allocations: 175.1 kB / 0.5618 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007366/0.4078, allocations: 466 kB / 0.5623 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4078, allocations: 0 / 0.5623 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4078, allocations: 0 / 0.5623 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.4078, allocations: 0 / 0.5623 GB, free: 1.93 MB / 398.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.001402/0.4092, allocations: 0.6144 MB / 0.5629 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.4093, allocations: 8.031 kB / 0.5629 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.4094, allocations: 82.7 kB / 0.563 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004811/0.4099, allocations: 72.62 kB / 0.563 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.4105, allocations: 246.7 kB / 0.5633 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.4106, allocations: 29.38 kB / 0.5633 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.4107, allocations: 36.38 kB / 0.5633 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009856/0.4117, allocations: 389.1 kB / 0.5637 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.4117, allocations: 3.953 kB / 0.5637 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.4117, allocations: 16 kB / 0.5637 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.4118, allocations: 8 kB / 0.5637 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/0.4125, allocations: 251.8 kB / 0.564 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.4146, allocations: 0.9692 MB / 0.5649 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008315/0.4154, allocations: 331.5 kB / 0.5652 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.4159, allocations: 162.4 kB / 0.5654 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.4159, allocations: 8 kB / 0.5654 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.416, allocations: 42.48 kB / 0.5654 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.846e-06/0.416, allocations: 0 / 0.5654 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.005273/0.4212, allocations: 2.01 MB / 0.5674 GB, free: 12.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/0.4213, allocations: 114.8 kB / 0.5675 GB, free: 12.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.4217, allocations: 237.9 kB / 0.5677 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.4217, allocations: 37.7 kB / 0.5678 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.4219, allocations: 188.9 kB / 0.5679 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.4221, allocations: 210.2 kB / 0.5681 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.4223, allocations: 82.34 kB / 0.5682 GB, free: 11.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002804/0.4226, allocations: 350.7 kB / 0.5686 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.423, allocations: 129.2 kB / 0.5687 GB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.4235, allocations: 228.8 kB / 0.5689 GB, free: 10.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000833/0.4243, allocations: 409.9 kB / 0.5693 GB, free: 10.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4243, allocations: 0 / 0.5693 GB, free: 10.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001079/0.4254, allocations: 0.558 MB / 0.5698 GB, free: 9.703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.4254, allocations: 4 kB / 0.5698 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.4254, allocations: 7.984 kB / 0.5698 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/0.4258, allocations: 118.5 kB / 0.57 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.4262, allocations: 103.8 kB / 0.5701 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00503/0.4312, allocations: 4.888 MB / 0.5748 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.4315, allocations: 16 kB / 0.5748 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.4315, allocations: 20 kB / 0.5749 GB, free: 4.203 MB / 414.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.000218/0.4317, allocations: 169.7 kB / 0.575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.4318, allocations: 35.77 kB / 0.5751 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.163e-05/0.4319, allocations: 50.11 kB / 0.5751 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.4319, allocations: 8 kB / 0.5751 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.4319, allocations: 8 kB / 0.5751 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4319, allocations: 4 kB / 0.5751 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.4341, allocations: 1.233 MB / 0.5763 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4341, allocations: 8.094 kB / 0.5763 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.4345, allocations: 99.81 kB / 0.5764 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.4348, allocations: 98.45 kB / 0.5765 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.4348, allocations: 12 kB / 0.5765 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003813/0.4387, allocations: 4.098 MB / 0.5805 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4387, allocations: 4.031 kB / 0.5805 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.4401, allocations: 0.9203 MB / 0.5814 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.4402, allocations: 39.81 kB / 0.5815 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.4402, allocations: 12 kB / 0.5815 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.4405, allocations: 12 kB / 0.5815 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.4406, allocations: 55.78 kB / 0.5816 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.4407, allocations: 16 kB / 0.5816 GB, free: 12.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.4409, allocations: 177.2 kB / 0.5817 GB, free: 12.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4409, allocations: 4 kB / 0.5817 GB, free: 12.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007573/0.4416, allocations: 124 kB / 0.5819 GB, free: 12.56 MB / 430.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.001914/0.4435, allocations: 1.464 MB / 0.5833 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.4451, allocations: 0.765 MB / 0.584 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4451, allocations: 0 / 0.584 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008693/0.446, allocations: 0.5607 MB / 0.5846 GB, free: 9.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.4467, allocations: 60.09 kB / 0.5846 GB, free: 9.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00643/0.4531, allocations: 4.184 MB / 0.5887 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.4534, allocations: 220.9 kB / 0.5889 GB, free: 4.988 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.4536, allocations: 43.25 kB / 0.589 GB, free: 4.945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.4537, allocations: 135.4 kB / 0.5891 GB, free: 4.816 MB / 430.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4537, allocations: 0 / 0.5891 GB, free: 4.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0473/0.5011, allocations: 9.183 MB / 0.5981 GB, free: 11.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.54, allocations: 2.5 kB / 0.5981 GB, free: 11.8 MB / 446.1 MB " [Timeout remaining time 647] (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: 15.808555173221976]