Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001405/0.001405, allocations: 115 kB / 17.13 MB, free: 5.914 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.001684/0.001684, allocations: 211.2 kB / 20.1 MB, free: 2.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 207.6 MB / 230.5 MB, free: 4.016 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4248/0.4248, allocations: 44.23 MB / 326.6 MB, free: 6.828 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002501/0.002501, allocations: 71.89 kB / 462.2 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3573, allocations: 61 MB / 0.5109 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00383/0.3611, allocations: 2.857 MB / 0.5137 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3625, allocations: 0.7584 MB / 0.5145 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003205/0.3628, allocations: 12.16 kB / 0.5145 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.363, allocations: 57.09 kB / 0.5145 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.3633, allocations: 125.9 kB / 0.5147 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.3637, allocations: 103.6 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.3641, allocations: 445.5 kB / 0.5152 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.3644, allocations: 133.9 kB / 0.5153 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.3647, allocations: 179.4 kB / 0.5155 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.3649, allocations: 187.5 kB / 0.5157 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.3649, allocations: 35.75 kB / 0.5157 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.365, allocations: 35.75 kB / 0.5157 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.365, allocations: 81.31 kB / 0.5158 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.3652, allocations: 206.3 kB / 0.516 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.3657, allocations: 453.6 kB / 0.5164 GB, free: 8.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3657, allocations: 4 kB / 0.5164 GB, free: 8.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3657, allocations: 0 / 0.5164 GB, free: 8.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.3657, allocations: 1.375 kB / 0.5164 GB, free: 8.992 MB / 382.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.001014/0.3668, allocations: 0.6721 MB / 0.5171 GB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3668, allocations: 14.3 kB / 0.5171 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.919e-05/0.3669, allocations: 74.12 kB / 0.5172 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.754e-05/0.367, allocations: 50.59 kB / 0.5172 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.3674, allocations: 293 kB / 0.5175 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.3674, allocations: 33.02 kB / 0.5175 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.3675, allocations: 45.23 kB / 0.5176 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.3681, allocations: 385.7 kB / 0.518 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.3681, allocations: 8 kB / 0.518 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.3681, allocations: 16 kB / 0.518 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.3682, allocations: 8 kB / 0.518 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.3686, allocations: 247.8 kB / 0.5182 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.3701, allocations: 1.097 MB / 0.5193 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.3705, allocations: 335.4 kB / 0.5196 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.3708, allocations: 155.3 kB / 0.5198 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.3708, allocations: 8 kB / 0.5198 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3708, allocations: 42.48 kB / 0.5198 GB, free: 5.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.415e-06/0.3708, allocations: 4 kB / 0.5198 GB, free: 5.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003448/0.3743, allocations: 2.453 MB / 0.5222 GB, free: 2.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3743, allocations: 110.8 kB / 0.5223 GB, free: 2.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.3746, allocations: 238.6 kB / 0.5225 GB, free: 2.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.3746, allocations: 29.7 kB / 0.5226 GB, free: 2.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.3747, allocations: 192.9 kB / 0.5228 GB, free: 2.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.3748, allocations: 210.2 kB / 0.523 GB, free: 2.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3749, allocations: 90.25 kB / 0.523 GB, free: 2.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.375, allocations: 350.7 kB / 0.5234 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.3752, allocations: 129.1 kB / 0.5235 GB, free: 1.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.3755, allocations: 239.7 kB / 0.5237 GB, free: 1.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.376, allocations: 390 kB / 0.5241 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.376, allocations: 4 kB / 0.5241 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009962/0.377, allocations: 0.5579 MB / 0.5246 GB, free: 280 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.377, allocations: 11.94 kB / 0.5247 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.377, allocations: 7.984 kB / 0.5247 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.3774, allocations: 126.7 kB / 0.5248 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.3778, allocations: 99.81 kB / 0.5249 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005338/0.3831, allocations: 5.213 MB / 0.53 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.3835, allocations: 16.25 kB / 0.53 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.3835, allocations: 19.98 kB / 0.53 GB, free: 10.35 MB / 398.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.000257/0.3838, allocations: 165.7 kB / 0.5302 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.3839, allocations: 47.83 kB / 0.5302 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.384, allocations: 46.17 kB / 0.5303 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.384, allocations: 8 kB / 0.5303 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/0.384, allocations: 7.938 kB / 0.5303 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.384, allocations: 3.984 kB / 0.5303 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.3864, allocations: 1.315 MB / 0.5316 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.3864, allocations: 3.938 kB / 0.5316 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.3868, allocations: 99.97 kB / 0.5317 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003191/0.3872, allocations: 98.45 kB / 0.5318 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.3872, allocations: 12 kB / 0.5318 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004/0.3912, allocations: 4.423 MB / 0.5361 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3912, allocations: 0 / 0.5361 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.3927, allocations: 0.9253 MB / 0.537 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.3929, allocations: 116.9 kB / 0.5371 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.393, allocations: 16 kB / 0.5371 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.3932, allocations: 8 kB / 0.5371 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.3934, allocations: 51.81 kB / 0.5372 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.3934, allocations: 19.98 kB / 0.5372 GB, free: 2.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.3936, allocations: 174 kB / 0.5374 GB, free: 2.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3936, allocations: 0 / 0.5374 GB, free: 2.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007666/0.3944, allocations: 124 kB / 0.5375 GB, free: 2.137 MB / 398.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.001898/0.3962, allocations: 1.468 MB / 0.5389 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.3978, allocations: 0.7536 MB / 0.5396 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3978, allocations: 0 / 0.5396 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009155/0.3987, allocations: 0.5639 MB / 0.5402 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007597/0.3994, allocations: 57.09 kB / 0.5403 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/0.406, allocations: 4.147 MB / 0.5443 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.4065, allocations: 0.824 MB / 0.5451 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.4067, allocations: 39.25 kB / 0.5451 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.4069, allocations: 127.4 kB / 0.5453 GB, free: 9.824 MB / 414.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4069, allocations: 0 / 0.5453 GB, free: 9.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04882/0.4557, allocations: 8.367 MB / 0.5534 GB, free: 1.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.75, allocations: 16.78 kB / 0.5535 GB, free: 1.422 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.090083310991758]