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.001741/0.001741, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002274/0.002274, allocations: 214.4 kB / 22.99 MB, free: 4.977 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.566/1.566, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2431/0.2431, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.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.002266/0.002266, allocations: 75.16 kB / 467.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1246, allocations: 61.05 MB / 0.5161 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004181/0.1287, allocations: 2.638 MB / 0.5187 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1301, allocations: 0.7254 MB / 0.5194 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.1302, allocations: 11.94 kB / 0.5194 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1304, allocations: 71.31 kB / 0.5195 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.1307, allocations: 122.9 kB / 0.5196 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.131, allocations: 95.88 kB / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.1314, allocations: 442.3 kB / 0.5201 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.1317, allocations: 131 kB / 0.5203 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.1319, allocations: 183.3 kB / 0.5204 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1321, allocations: 163.2 kB / 0.5206 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.1322, allocations: 39.98 kB / 0.5206 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.996e-05/0.1323, allocations: 39.94 kB / 0.5207 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.1323, allocations: 79.7 kB / 0.5208 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1325, allocations: 163.2 kB / 0.5209 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.133, allocations: 458.1 kB / 0.5213 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.133, allocations: 0 / 0.5213 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.133, allocations: 0 / 0.5213 GB, free: 1.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.133, allocations: 3.938 kB / 0.5213 GB, free: 1.824 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.0009746/0.134, allocations: 0.595 MB / 0.5219 GB, free: 1.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.134, allocations: 8.031 kB / 0.5219 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.273e-05/0.1341, allocations: 78.7 kB / 0.522 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.1342, allocations: 48.66 kB / 0.5221 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.1346, allocations: 230.8 kB / 0.5223 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.1346, allocations: 33.38 kB / 0.5223 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.1347, allocations: 44.33 kB / 0.5224 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.1353, allocations: 381.2 kB / 0.5227 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.1353, allocations: 11.94 kB / 0.5227 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.1353, allocations: 16 kB / 0.5227 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1354, allocations: 8 kB / 0.5227 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.1358, allocations: 247.8 kB / 0.523 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.1374, allocations: 0.9767 MB / 0.5239 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.138, allocations: 324 kB / 0.5242 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.1382, allocations: 162.8 kB / 0.5244 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.1383, allocations: 11.94 kB / 0.5244 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.1383, allocations: 50.42 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.1383, allocations: 0 / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003616/0.1419, allocations: 1.992 MB / 0.5264 GB, free: 12.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.142, allocations: 110.8 kB / 0.5265 GB, free: 12.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.1423, allocations: 245.8 kB / 0.5267 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.1423, allocations: 37.7 kB / 0.5268 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1424, allocations: 184.9 kB / 0.527 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.1426, allocations: 206.2 kB / 0.5272 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.1427, allocations: 90.3 kB / 0.5272 GB, free: 11.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1429, allocations: 354.7 kB / 0.5276 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.1432, allocations: 129.2 kB / 0.5277 GB, free: 10.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.1435, allocations: 224.8 kB / 0.5279 GB, free: 10.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.1442, allocations: 409.9 kB / 0.5283 GB, free: 10.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1442, allocations: 0 / 0.5283 GB, free: 10.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001037/0.1452, allocations: 0.5542 MB / 0.5289 GB, free: 9.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1452, allocations: 8 kB / 0.5289 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1452, allocations: 0 / 0.5289 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/0.1456, allocations: 126.4 kB / 0.529 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.146, allocations: 91.89 kB / 0.5291 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004478/0.1504, allocations: 4.888 MB / 0.5338 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.1507, allocations: 27.95 kB / 0.5339 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.1507, allocations: 20.19 kB / 0.5339 GB, free: 4.141 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.0002792/0.151, allocations: 165.7 kB / 0.534 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1511, allocations: 39.77 kB / 0.5341 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.916e-05/0.1512, allocations: 46.11 kB / 0.5341 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1512, allocations: 8 kB / 0.5341 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/0.1512, allocations: 7.938 kB / 0.5341 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1512, allocations: 3.984 kB / 0.5341 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.1533, allocations: 1.229 MB / 0.5353 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1533, allocations: 0 / 0.5353 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.1537, allocations: 99.97 kB / 0.5354 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.154, allocations: 106.4 kB / 0.5355 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.154, allocations: 12 kB / 0.5356 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2314/0.3854, allocations: 4.093 MB / 0.5396 GB, free: 25.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.3854, allocations: 6.703 kB / 0.5396 GB, free: 25.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.3868, allocations: 0.911 MB / 0.5404 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.06e-05/0.3869, allocations: 40.45 kB / 0.5405 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.387, allocations: 12.14 kB / 0.5405 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.3872, allocations: 15.97 kB / 0.5405 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3873, allocations: 50.47 kB / 0.5406 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.3874, allocations: 18.95 kB / 0.5406 GB, free: 24.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.3875, allocations: 171.1 kB / 0.5407 GB, free: 24.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3875, allocations: 0 / 0.5407 GB, free: 24.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007332/0.3883, allocations: 122.5 kB / 0.5409 GB, free: 24.83 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.001418/0.3897, allocations: 1.476 MB / 0.5423 GB, free: 23.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.391, allocations: 0.7597 MB / 0.543 GB, free: 23.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.391, allocations: 4.25 kB / 0.543 GB, free: 23.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.3917, allocations: 0.5681 MB / 0.5436 GB, free: 23.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.3924, allocations: 59.19 kB / 0.5437 GB, free: 23.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006068/0.3985, allocations: 4.136 MB / 0.5477 GB, free: 20.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.3987, allocations: 218.6 kB / 0.5479 GB, free: 20.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.3989, allocations: 33.91 kB / 0.5479 GB, free: 20.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.3991, allocations: 130.5 kB / 0.5481 GB, free: 20.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3991, allocations: 1.188 kB / 0.5481 GB, free: 20.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.448, allocations: 9.111 MB / 0.557 GB, free: 19.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.47, allocations: 8.297 kB / 0.557 GB, free: 19.05 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: 15.791425208095461]