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.001376/0.001376, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001524/0.001524, allocations: 212.4 kB / 23.73 MB, free: 4.41 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.558/1.558, 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.24/0.24, allocations: 44.94 MB / 358.8 MB, free: 6.059 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.002175/0.002175, allocations: 65.94 kB / 0.493 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3382, allocations: 65.48 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003111/0.3413, allocations: 1.61 MB / 0.5585 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.3416, allocations: 107.6 kB / 0.5586 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.3417, allocations: 3.938 kB / 0.5586 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.083e-05/0.3417, allocations: 15.86 kB / 0.5586 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3419, allocations: 39.7 kB / 0.5587 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.342, allocations: 27.95 kB / 0.5587 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.3421, allocations: 131.4 kB / 0.5588 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3423, allocations: 21.3 kB / 0.5589 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.3424, allocations: 51.8 kB / 0.5589 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.3424, allocations: 47.77 kB / 0.559 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.3425, allocations: 8 kB / 0.559 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.499e-05/0.3425, allocations: 12 kB / 0.559 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.3425, allocations: 15.94 kB / 0.559 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.3426, allocations: 51.8 kB / 0.559 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.3428, allocations: 125.3 kB / 0.5592 GB, free: 5.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3428, allocations: 8 kB / 0.5592 GB, free: 5.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3428, allocations: 3.938 kB / 0.5592 GB, free: 5.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3428, allocations: 0 / 0.5592 GB, free: 5.273 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000496/0.3433, allocations: 330.1 kB / 0.5595 GB, free: 4.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3433, allocations: 12.03 kB / 0.5595 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.378e-05/0.3434, allocations: 46.73 kB / 0.5595 GB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.3434, allocations: 8.891 kB / 0.5595 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3436, allocations: 138.3 kB / 0.5597 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3436, allocations: 8.609 kB / 0.5597 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.3436, allocations: 16.38 kB / 0.5597 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.3439, allocations: 129.5 kB / 0.5598 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3439, allocations: 11.83 kB / 0.5598 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.3439, allocations: 8 kB / 0.5598 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3439, allocations: 0 / 0.5598 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3441, allocations: 59.95 kB / 0.5599 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.3448, allocations: 467.6 kB / 0.5603 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.345, allocations: 81.08 kB / 0.5604 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.345, allocations: 33.83 kB / 0.5605 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.3451, allocations: 4 kB / 0.5605 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.3451, allocations: 34.56 kB / 0.5605 GB, free: 3.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.3451, allocations: 0 / 0.5605 GB, free: 3.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005394/0.3456, allocations: 143.6 kB / 0.5606 GB, free: 3.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3457, allocations: 81.11 kB / 0.5607 GB, free: 3.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3458, allocations: 129.7 kB / 0.5608 GB, free: 3.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3458, allocations: 33.64 kB / 0.5609 GB, free: 3.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.3459, allocations: 115.8 kB / 0.561 GB, free: 3.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.346, allocations: 43.72 kB / 0.561 GB, free: 3.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.346, allocations: 29.72 kB / 0.561 GB, free: 3.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3462, allocations: 322.8 kB / 0.5614 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.3462, allocations: 23.98 kB / 0.5614 GB, free: 2.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.561e-05/0.3463, allocations: 84.58 kB / 0.5615 GB, free: 2.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3465, allocations: 120.5 kB / 0.5616 GB, free: 2.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3465, allocations: 0 / 0.5616 GB, free: 2.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000292/0.3467, allocations: 167.1 kB / 0.5617 GB, free: 2.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3468, allocations: 6.656 kB / 0.5617 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3468, allocations: 7.938 kB / 0.5617 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.347, allocations: 37.95 kB / 0.5618 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3471, allocations: 27.92 kB / 0.5618 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.3492, allocations: 2.535 MB / 0.5643 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.3493, allocations: 16.05 kB / 0.5643 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3493, allocations: 8 kB / 0.5643 GB, free: 15.48 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.0001541/0.3495, allocations: 125.8 kB / 0.5644 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.3495, allocations: 19.77 kB / 0.5644 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.3496, allocations: 8 kB / 0.5645 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3496, allocations: 0 / 0.5645 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3496, allocations: 4 kB / 0.5645 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3496, allocations: 7.922 kB / 0.5645 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.3498, allocations: 164.7 kB / 0.5646 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3498, allocations: 0 / 0.5646 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.3499, allocations: 15.98 kB / 0.5646 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.781e-05/0.35, allocations: 37.64 kB / 0.5647 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.35, allocations: 4 kB / 0.5647 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.352, allocations: 2.515 MB / 0.5671 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.352, allocations: 4.031 kB / 0.5671 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.3523, allocations: 312.3 kB / 0.5674 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.3523, allocations: 4.25 kB / 0.5674 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.3524, allocations: 8.031 kB / 0.5674 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.3525, allocations: 0 / 0.5674 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.3525, allocations: 11.98 kB / 0.5675 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3525, allocations: 0 / 0.5675 GB, free: 11.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.111e-05/0.3526, allocations: 99.42 kB / 0.5676 GB, free: 11.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3526, allocations: 0 / 0.5676 GB, free: 11.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.3529, allocations: 39.89 kB / 0.5676 GB, free: 11.8 MB / 414.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.0006639/0.3536, allocations: 0.8266 MB / 0.5684 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.354, allocations: 309.7 kB / 0.5687 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3541, allocations: 0 / 0.5687 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.3543, allocations: 257.3 kB / 0.5689 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.3548, allocations: 23.92 kB / 0.569 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.3573, allocations: 1.98 MB / 0.5709 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.3574, allocations: 89.62 kB / 0.571 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.288e-05/0.3575, allocations: 24.89 kB / 0.571 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.3575, allocations: 27.42 kB / 0.571 GB, free: 8.023 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3575, allocations: 0 / 0.571 GB, free: 8.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.3928, allocations: 3.622 MB / 0.5746 GB, free: 4.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12, allocations: 6.219 kB / 0.5746 GB, free: 4.543 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.200308450963348]