Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001811/0.001811, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002227/0.002227, allocations: 210.6 kB / 23.73 MB, free: 4.523 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.526/1.526, 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.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.2331/0.2331, allocations: 46.95 MB / 360.9 MB, free: 4.066 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.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 75.88 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3506, allocations: 66.03 MB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.0042/0.3548, allocations: 2.653 MB / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3563, allocations: 0.7712 MB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.3564, allocations: 11.94 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.3566, allocations: 63.31 kB / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.3569, allocations: 130.9 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.3573, allocations: 123.8 kB / 0.5642 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005658/0.3579, allocations: 446.3 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.3582, allocations: 140.7 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.3585, allocations: 179.3 kB / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.3588, allocations: 195.1 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/0.3588, allocations: 36 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.647e-05/0.3589, allocations: 43.94 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.359, allocations: 75.75 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.3592, allocations: 175.2 kB / 0.5655 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.3597, allocations: 470 kB / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3597, allocations: 0 / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3597, allocations: 0 / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.3597, allocations: 0 / 0.5659 GB, free: 14.78 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001066/0.3608, allocations: 0.6105 MB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3609, allocations: 8.031 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.724e-05/0.3609, allocations: 90.58 kB / 0.5666 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.3613, allocations: 72.62 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.3618, allocations: 237.7 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.3618, allocations: 29.38 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.3619, allocations: 36.38 kB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.3625, allocations: 385.2 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.3625, allocations: 15.89 kB / 0.5674 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.3626, allocations: 16 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.3626, allocations: 8 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.3631, allocations: 239.8 kB / 0.5676 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.3647, allocations: 0.9809 MB / 0.5686 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.3653, allocations: 319.5 kB / 0.5689 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.3656, allocations: 162.5 kB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.3657, allocations: 11.88 kB / 0.569 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.3657, allocations: 46.48 kB / 0.5691 GB, free: 11.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.876e-06/0.3657, allocations: 0 / 0.5691 GB, free: 11.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004004/0.3697, allocations: 2.012 MB / 0.571 GB, free: 9.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.204e-05/0.3698, allocations: 110.8 kB / 0.5712 GB, free: 9.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.3701, allocations: 241.9 kB / 0.5714 GB, free: 8.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.3701, allocations: 37.7 kB / 0.5714 GB, free: 8.785 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.3703, allocations: 192.9 kB / 0.5716 GB, free: 8.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.3705, allocations: 210.2 kB / 0.5718 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3706, allocations: 86.34 kB / 0.5719 GB, free: 8.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.3708, allocations: 350.7 kB / 0.5722 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.3711, allocations: 133.2 kB / 0.5723 GB, free: 7.816 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.3715, allocations: 224.8 kB / 0.5726 GB, free: 7.559 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/0.3722, allocations: 406 kB / 0.5729 GB, free: 7.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3722, allocations: 0 / 0.5729 GB, free: 7.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001188/0.3733, allocations: 0.5539 MB / 0.5735 GB, free: 6.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.3734, allocations: 4 kB / 0.5735 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.3734, allocations: 7.984 kB / 0.5735 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.3738, allocations: 126.6 kB / 0.5736 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.3742, allocations: 95.81 kB / 0.5737 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004793/0.379, allocations: 4.88 MB / 0.5785 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.3792, allocations: 19.94 kB / 0.5785 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.3793, allocations: 23.98 kB / 0.5785 GB, free: 1.055 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.0002331/0.3795, allocations: 172.9 kB / 0.5787 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.3796, allocations: 35.77 kB / 0.5787 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.723e-05/0.3797, allocations: 54.05 kB / 0.5788 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3797, allocations: 8 kB / 0.5788 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.3797, allocations: 3.938 kB / 0.5788 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3797, allocations: 4 kB / 0.5788 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.3818, allocations: 1.229 MB / 0.58 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3818, allocations: 192 / 0.58 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.3823, allocations: 107.8 kB / 0.5801 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002915/0.3825, allocations: 94.45 kB / 0.5802 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.3826, allocations: 20.09 kB / 0.5802 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003594/0.3862, allocations: 4.098 MB / 0.5842 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3862, allocations: 4.031 kB / 0.5842 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.3876, allocations: 0.9205 MB / 0.5851 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.3877, allocations: 35.75 kB / 0.5851 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.3877, allocations: 12.06 kB / 0.5851 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.388, allocations: 20.06 kB / 0.5852 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.3881, allocations: 47.84 kB / 0.5852 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.3881, allocations: 19.94 kB / 0.5852 GB, free: 9.711 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.3883, allocations: 177.2 kB / 0.5854 GB, free: 9.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3883, allocations: 0 / 0.5854 GB, free: 9.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006979/0.389, allocations: 124 kB / 0.5855 GB, free: 9.414 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.001708/0.3907, allocations: 1.471 MB / 0.587 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.392, allocations: 0.7612 MB / 0.5877 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.392, allocations: 0 / 0.5877 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008206/0.3928, allocations: 0.5605 MB / 0.5882 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.3935, allocations: 56.66 kB / 0.5883 GB, free: 6.453 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/0.3994, allocations: 4.175 MB / 0.5924 GB, free: 2.094 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3997, allocations: 224.9 kB / 0.5926 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.3998, allocations: 39.25 kB / 0.5926 GB, free: 1.809 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.4, allocations: 131.4 kB / 0.5928 GB, free: 1.684 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4, allocations: 0 / 0.5928 GB, free: 1.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04543/0.4454, allocations: 9.339 MB / 0.6019 GB, free: 8.523 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.81, allocations: 6.391 kB / 0.6019 GB, free: 8.52 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.943306834989926]