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.001331/0.001331, allocations: 115.9 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.00152/0.00152, allocations: 213.4 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2321/0.2321, allocations: 44.92 MB / 358.9 MB, free: 6.305 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.002127/0.002127, allocations: 63.91 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3986, allocations: 65.47 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005037/0.4037, allocations: 2.867 MB / 0.5598 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.4057, allocations: 0.814 MB / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.406, allocations: 15.88 kB / 0.5606 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.4062, allocations: 63.31 kB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.4065, allocations: 126.9 kB / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.4069, allocations: 123.8 kB / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.4075, allocations: 450.3 kB / 0.5614 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.4078, allocations: 140.6 kB / 0.5615 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.4081, allocations: 183.3 kB / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.4084, allocations: 183.2 kB / 0.5618 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.4085, allocations: 39.94 kB / 0.5619 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.4086, allocations: 40 kB / 0.5619 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.4087, allocations: 87.67 kB / 0.562 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.4089, allocations: 203 kB / 0.5622 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006479/0.4095, allocations: 470 kB / 0.5626 GB, free: 1.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4095, allocations: 4 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4095, allocations: 0 / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.4096, allocations: 0 / 0.5627 GB, free: 1.984 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.001216/0.4108, allocations: 0.6066 MB / 0.5632 GB, free: 1.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.4108, allocations: 12.03 kB / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.4109, allocations: 78.7 kB / 0.5633 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.4113, allocations: 72.62 kB / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.4118, allocations: 238.7 kB / 0.5636 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.4118, allocations: 29.31 kB / 0.5637 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.688e-05/0.4119, allocations: 44.36 kB / 0.5637 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.4126, allocations: 381.2 kB / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.4126, allocations: 7.938 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.4127, allocations: 16 kB / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4127, allocations: 12 kB / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.4132, allocations: 252.3 kB / 0.5643 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.415, allocations: 1.051 MB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.4156, allocations: 331.5 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.4159, allocations: 162.4 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.416, allocations: 4 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.416, allocations: 46.5 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.974e-06/0.416, allocations: 0 / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.00403/0.42, allocations: 2.012 MB / 0.5678 GB, free: 12.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.4201, allocations: 110.8 kB / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.4204, allocations: 249.8 kB / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.4205, allocations: 37.7 kB / 0.5682 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.4206, allocations: 180.9 kB / 0.5684 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.4208, allocations: 210.2 kB / 0.5686 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.4209, allocations: 86.34 kB / 0.5687 GB, free: 11.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4211, allocations: 350.7 kB / 0.569 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.4214, allocations: 129.2 kB / 0.5691 GB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.4218, allocations: 236.7 kB / 0.5694 GB, free: 10.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.4224, allocations: 394 kB / 0.5697 GB, free: 10.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4224, allocations: 0 / 0.5697 GB, free: 10.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001099/0.4235, allocations: 0.5579 MB / 0.5703 GB, free: 9.684 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.4236, allocations: 8 kB / 0.5703 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4236, allocations: 4 kB / 0.5703 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.424, allocations: 126.5 kB / 0.5704 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.4244, allocations: 95.89 kB / 0.5705 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/0.4293, allocations: 4.907 MB / 0.5753 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.4296, allocations: 16 kB / 0.5753 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.4296, allocations: 19.98 kB / 0.5753 GB, free: 4.164 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.0002546/0.4299, allocations: 179.3 kB / 0.5755 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.43, allocations: 39.77 kB / 0.5755 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.4301, allocations: 50.11 kB / 0.5756 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4301, allocations: 7.938 kB / 0.5756 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/0.4301, allocations: 7.938 kB / 0.5756 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4301, allocations: 3.984 kB / 0.5756 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.4324, allocations: 1.284 MB / 0.5769 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.4324, allocations: 0 / 0.5769 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.4328, allocations: 99.88 kB / 0.577 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003026/0.4331, allocations: 98.39 kB / 0.5771 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.4332, allocations: 12 kB / 0.5771 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003929/0.4371, allocations: 4.126 MB / 0.5811 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4371, allocations: 3.938 kB / 0.5811 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.4386, allocations: 0.9204 MB / 0.582 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.4387, allocations: 35.75 kB / 0.582 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.4387, allocations: 12.06 kB / 0.582 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.439, allocations: 16 kB / 0.5821 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.4391, allocations: 47.78 kB / 0.5821 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.4391, allocations: 16 kB / 0.5821 GB, free: 12.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.4393, allocations: 181.2 kB / 0.5823 GB, free: 12.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4393, allocations: 0 / 0.5823 GB, free: 12.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007897/0.4401, allocations: 124 kB / 0.5824 GB, free: 12.45 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.001883/0.442, allocations: 1.475 MB / 0.5839 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.4435, allocations: 0.7573 MB / 0.5846 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4435, allocations: 0 / 0.5846 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009052/0.4444, allocations: 0.5644 MB / 0.5851 GB, free: 9.535 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007237/0.4451, allocations: 69.16 kB / 0.5852 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/0.4518, allocations: 4.182 MB / 0.5893 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.4523, allocations: 0.828 MB / 0.5901 GB, free: 4.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.4525, allocations: 35.27 kB / 0.5901 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4527, allocations: 131.4 kB / 0.5903 GB, free: 4.086 MB / 430.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4527, allocations: 4 kB / 0.5903 GB, free: 4.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06635/0.519, allocations: 8.789 MB / 0.5988 GB, free: 11.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.25, allocations: 0 / 0.5988 GB, free: 11.43 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: 16.59896548600227]