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.001887/0.001887, allocations: 113.6 kB / 19.69 MB, free: 2.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.00227/0.00227, allocations: 216.6 kB / 23 MB, free: 5.051 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.476/1.476, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.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.231/0.231, allocations: 44.23 MB / 330.3 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 180] 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.002218/0.002218, allocations: 70.56 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1181, allocations: 61.04 MB / 0.5161 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004353/0.1225, allocations: 2.867 MB / 0.5189 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1238, allocations: 0.7565 MB / 0.5197 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.1239, allocations: 11.94 kB / 0.5197 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1241, allocations: 63.31 kB / 0.5198 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1244, allocations: 126.9 kB / 0.5199 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.1247, allocations: 103.8 kB / 0.52 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000495/0.1252, allocations: 438.4 kB / 0.5204 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.1255, allocations: 147 kB / 0.5205 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.1257, allocations: 175.4 kB / 0.5207 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.126, allocations: 195.1 kB / 0.5209 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.251e-05/0.1261, allocations: 36 kB / 0.5209 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.198e-05/0.1262, allocations: 36 kB / 0.521 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.949e-05/0.1262, allocations: 75.7 kB / 0.521 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.1265, allocations: 211 kB / 0.5212 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005669/0.127, allocations: 450 kB / 0.5217 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.127, allocations: 0 / 0.5217 GB, free: 1.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.127, allocations: 0 / 0.5217 GB, free: 1.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.127, allocations: 0 / 0.5217 GB, free: 1.637 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.00111/0.1281, allocations: 0.595 MB / 0.5222 GB, free: 1.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1282, allocations: 12.03 kB / 0.5222 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.1283, allocations: 82.64 kB / 0.5223 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.414e-05/0.1284, allocations: 48.66 kB / 0.5224 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.1288, allocations: 230.9 kB / 0.5226 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.1289, allocations: 29.38 kB / 0.5226 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/0.129, allocations: 44.33 kB / 0.5227 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/0.1297, allocations: 385.1 kB / 0.523 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.1297, allocations: 0 / 0.523 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.1297, allocations: 19.94 kB / 0.523 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1297, allocations: 8 kB / 0.5231 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.1303, allocations: 251.9 kB / 0.5233 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.1321, allocations: 1.055 MB / 0.5243 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.1327, allocations: 324 kB / 0.5246 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.133, allocations: 162.8 kB / 0.5248 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.133, allocations: 7.938 kB / 0.5248 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.133, allocations: 42.5 kB / 0.5248 GB, free: 14.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.934e-06/0.133, allocations: 0 / 0.5248 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003986/0.137, allocations: 1.993 MB / 0.5268 GB, free: 12.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.1371, allocations: 122.7 kB / 0.5269 GB, free: 11.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.1374, allocations: 233.9 kB / 0.5271 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.1374, allocations: 41.64 kB / 0.5272 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1375, allocations: 184.9 kB / 0.5273 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.1377, allocations: 206.2 kB / 0.5275 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.1378, allocations: 82.34 kB / 0.5276 GB, free: 11.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.138, allocations: 354.7 kB / 0.528 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.1383, allocations: 129.2 kB / 0.5281 GB, free: 10.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.1386, allocations: 232.7 kB / 0.5283 GB, free: 10.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.1393, allocations: 402 kB / 0.5287 GB, free: 9.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1393, allocations: 0 / 0.5287 GB, free: 9.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001063/0.1404, allocations: 0.5617 MB / 0.5292 GB, free: 9.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1404, allocations: 4 kB / 0.5292 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1404, allocations: 4 kB / 0.5292 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/0.1408, allocations: 122.6 kB / 0.5294 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.1412, allocations: 99.81 kB / 0.5295 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004983/0.1462, allocations: 4.907 MB / 0.5342 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.1464, allocations: 16 kB / 0.5343 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.1464, allocations: 24.06 kB / 0.5343 GB, free: 3.859 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.0002393/0.1467, allocations: 173.7 kB / 0.5344 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.1468, allocations: 39.7 kB / 0.5345 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-05/0.1469, allocations: 50.11 kB / 0.5345 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1469, allocations: 4 kB / 0.5345 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.1469, allocations: 7.938 kB / 0.5345 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1469, allocations: 0 / 0.5345 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.1491, allocations: 1.288 MB / 0.5358 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1491, allocations: 0 / 0.5358 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.1495, allocations: 103.8 kB / 0.5359 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.1498, allocations: 98.48 kB / 0.536 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.1498, allocations: 12 kB / 0.536 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2242/0.3741, allocations: 4.116 MB / 0.54 GB, free: 25.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3741, allocations: 1.781 kB / 0.54 GB, free: 25.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.3754, allocations: 0.9207 MB / 0.5409 GB, free: 24.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3755, allocations: 37.92 kB / 0.541 GB, free: 24.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.3756, allocations: 11.72 kB / 0.541 GB, free: 24.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.3758, allocations: 17.3 kB / 0.541 GB, free: 24.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.376, allocations: 47.45 kB / 0.541 GB, free: 24.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.376, allocations: 16.45 kB / 0.5411 GB, free: 24.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.3762, allocations: 177.4 kB / 0.5412 GB, free: 24.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3762, allocations: 0 / 0.5412 GB, free: 24.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007355/0.3769, allocations: 124.7 kB / 0.5413 GB, free: 24.62 MB / 414.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.001497/0.3784, allocations: 1.468 MB / 0.5428 GB, free: 23.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.3798, allocations: 0.7614 MB / 0.5435 GB, free: 23.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3799, allocations: 1.125 kB / 0.5435 GB, free: 23.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000758/0.3806, allocations: 0.5614 MB / 0.5441 GB, free: 23.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/0.3813, allocations: 64.97 kB / 0.5441 GB, free: 23.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.3869, allocations: 4.149 MB / 0.5482 GB, free: 20.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.3873, allocations: 0.818 MB / 0.549 GB, free: 20.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.3875, allocations: 34.08 kB / 0.549 GB, free: 20.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.3877, allocations: 131.3 kB / 0.5491 GB, free: 19.93 MB / 414.1 MB Notification: Performance of SimCode: time 1.653e-06/0.3877, allocations: 1.25 kB / 0.5491 GB, free: 19.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.4388, allocations: 8.728 MB / 0.5577 GB, free: 18.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.09, allocations: 9.078 kB / 0.5577 GB, free: 18.85 MB / 414.1 MB " [Timeout remaining time 647] (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: 16.25948487599817]