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.001403/0.001403, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001534/0.001534, allocations: 214.9 kB / 23.74 MB, free: 4.656 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2325/0.2325, allocations: 46.94 MB / 360.9 MB, free: 4.355 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.002037/0.002037, allocations: 67.91 kB / 0.4961 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3328, allocations: 66.03 MB / 0.5606 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002911/0.3357, allocations: 1.681 MB / 0.5623 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003197/0.3361, allocations: 103.6 kB / 0.5624 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.3361, allocations: 4 kB / 0.5624 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.408e-05/0.3362, allocations: 15.86 kB / 0.5624 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.3363, allocations: 43.62 kB / 0.5624 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.3364, allocations: 23.97 kB / 0.5625 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.3366, allocations: 127.4 kB / 0.5626 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3368, allocations: 29.28 kB / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.3369, allocations: 47.86 kB / 0.5627 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.095e-05/0.3369, allocations: 47.78 kB / 0.5627 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.337, allocations: 8 kB / 0.5627 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.337, allocations: 16 kB / 0.5627 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.337, allocations: 27.91 kB / 0.5627 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.3371, allocations: 55.73 kB / 0.5628 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3373, allocations: 121.3 kB / 0.5629 GB, free: 2.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3373, allocations: 4 kB / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3373, allocations: 0 / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3373, allocations: 3.938 kB / 0.5629 GB, free: 2.113 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.0005596/0.3379, allocations: 330.1 kB / 0.5632 GB, free: 1.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3379, allocations: 8.031 kB / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.054e-05/0.338, allocations: 50.73 kB / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.338, allocations: 12.89 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.3382, allocations: 138.3 kB / 0.5634 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3382, allocations: 12.55 kB / 0.5635 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.3383, allocations: 12.38 kB / 0.5635 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.3385, allocations: 129.5 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.3386, allocations: 11.89 kB / 0.5636 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3386, allocations: 0 / 0.5636 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3386, allocations: 7.938 kB / 0.5636 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.3387, allocations: 63.91 kB / 0.5637 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007991/0.3395, allocations: 483.6 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3396, allocations: 93.16 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.3397, allocations: 29.73 kB / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.3397, allocations: 0 / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3397, allocations: 38.5 kB / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.3397, allocations: 0 / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005498/0.3403, allocations: 147.2 kB / 0.5644 GB, free: 416 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.3403, allocations: 77.11 kB / 0.5645 GB, free: 320 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.3405, allocations: 129.7 kB / 0.5646 GB, free: 180 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3405, allocations: 25.7 kB / 0.5646 GB, free: 148 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.3406, allocations: 123.8 kB / 0.5648 GB, free: 20 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.3406, allocations: 31.92 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.3407, allocations: 25.72 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3409, allocations: 326.6 kB / 0.5651 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.3409, allocations: 24 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.341, allocations: 91.45 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3412, allocations: 116.5 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3412, allocations: 8 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002842/0.3414, allocations: 163.1 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.3415, allocations: 7.938 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3415, allocations: 4 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.3417, allocations: 37.95 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.3418, allocations: 31.92 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.3439, allocations: 2.532 MB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.344, allocations: 7.938 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.344, allocations: 4 kB / 0.5681 GB, free: 12.31 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.0001366/0.3442, allocations: 135.6 kB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.3442, allocations: 11.89 kB / 0.5682 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.3443, allocations: 16.06 kB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3443, allocations: 0 / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3443, allocations: 0 / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.3443, allocations: 3.938 kB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.3446, allocations: 184.6 kB / 0.5684 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3446, allocations: 0 / 0.5684 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.04e-05/0.3447, allocations: 15.94 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.3448, allocations: 41.58 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3448, allocations: 4 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.3468, allocations: 2.527 MB / 0.5709 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.3468, allocations: 0 / 0.5709 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.3472, allocations: 304.3 kB / 0.5712 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.3472, allocations: 8.203 kB / 0.5712 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.3472, allocations: 0 / 0.5712 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.3473, allocations: 8 kB / 0.5712 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.3473, allocations: 12.03 kB / 0.5713 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3473, allocations: 4 kB / 0.5713 GB, free: 8.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.084e-05/0.3474, allocations: 91.27 kB / 0.5713 GB, free: 8.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3474, allocations: 0 / 0.5713 GB, free: 8.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.3478, allocations: 43.83 kB / 0.5714 GB, free: 8.602 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.0007075/0.3485, allocations: 0.8345 MB / 0.5722 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.349, allocations: 301.6 kB / 0.5725 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.349, allocations: 4.062 kB / 0.5725 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.3493, allocations: 257.8 kB / 0.5727 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.3498, allocations: 23.97 kB / 0.5728 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.3522, allocations: 1.978 MB / 0.5747 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3526, allocations: 0.7084 MB / 0.5754 GB, free: 4.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.115e-05/0.3526, allocations: 8.984 kB / 0.5754 GB, free: 4.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.3527, allocations: 31.42 kB / 0.5754 GB, free: 4.203 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3527, allocations: 0 / 0.5754 GB, free: 4.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03582/0.3885, allocations: 3.141 MB / 0.5785 GB, free: 1.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.37, allocations: 6.688 kB / 0.5785 GB, free: 1.191 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.415924449000158]