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.001341/0.001341, 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.001639/0.001639, allocations: 219.7 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.482/1.482, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2312/0.2312, allocations: 44.27 MB / 330.3 MB, free: 9.289 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.002378/0.002378, allocations: 65.62 kB / 467.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1189, allocations: 61.06 MB / 0.5162 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003999/0.1229, allocations: 2.63 MB / 0.5187 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1241, allocations: 0.7332 MB / 0.5194 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1242, allocations: 15.88 kB / 0.5195 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.1244, allocations: 63.33 kB / 0.5195 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.1247, allocations: 130.9 kB / 0.5196 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.125, allocations: 91.89 kB / 0.5197 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.1254, allocations: 446.3 kB / 0.5202 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.1257, allocations: 131 kB / 0.5203 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.1259, allocations: 175.4 kB / 0.5204 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.1262, allocations: 163.2 kB / 0.5206 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.1262, allocations: 36 kB / 0.5206 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.1263, allocations: 39.94 kB / 0.5207 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-05/0.1264, allocations: 87.67 kB / 0.5208 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.1266, allocations: 163.2 kB / 0.5209 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.1271, allocations: 454.2 kB / 0.5213 GB, free: 1.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1271, allocations: 0 / 0.5213 GB, free: 1.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1271, allocations: 0 / 0.5213 GB, free: 1.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.1271, allocations: 3.938 kB / 0.5214 GB, free: 1.801 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.001036/0.1281, allocations: 0.5989 MB / 0.5219 GB, free: 1.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1282, allocations: 8.031 kB / 0.5219 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.441e-05/0.1283, allocations: 74.72 kB / 0.522 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.1283, allocations: 52.66 kB / 0.5221 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.1288, allocations: 238.7 kB / 0.5223 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.1288, allocations: 33.38 kB / 0.5223 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.1289, allocations: 40.33 kB / 0.5224 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.1296, allocations: 381.2 kB / 0.5227 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1296, allocations: 4 kB / 0.5227 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.1296, allocations: 16 kB / 0.5227 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-05/0.1297, allocations: 12 kB / 0.5228 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.1302, allocations: 247.8 kB / 0.523 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1318, allocations: 0.9728 MB / 0.5239 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.1324, allocations: 327.9 kB / 0.5243 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.1327, allocations: 162.8 kB / 0.5244 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1327, allocations: 4 kB / 0.5244 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.1328, allocations: 46.44 kB / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.793e-06/0.1328, allocations: 0 / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003843/0.1366, allocations: 1.996 MB / 0.5264 GB, free: 12.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.1367, allocations: 110.8 kB / 0.5265 GB, free: 12.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.137, allocations: 245.9 kB / 0.5267 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.137, allocations: 33.7 kB / 0.5268 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1371, allocations: 188.9 kB / 0.527 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.1373, allocations: 202.2 kB / 0.5272 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1374, allocations: 86.31 kB / 0.5272 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1376, allocations: 354.7 kB / 0.5276 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.1379, allocations: 137.2 kB / 0.5277 GB, free: 10.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.1382, allocations: 224.8 kB / 0.5279 GB, free: 10.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006505/0.1389, allocations: 401.9 kB / 0.5283 GB, free: 10.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1389, allocations: 0 / 0.5283 GB, free: 10.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001039/0.1399, allocations: 0.5618 MB / 0.5289 GB, free: 9.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1399, allocations: 8 kB / 0.5289 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1399, allocations: 0 / 0.5289 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004031/0.1403, allocations: 122.5 kB / 0.529 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.1407, allocations: 99.97 kB / 0.5291 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004805/0.1455, allocations: 4.884 MB / 0.5338 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.1458, allocations: 24.02 kB / 0.5339 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.1458, allocations: 16 kB / 0.5339 GB, free: 4.129 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.0002207/0.146, allocations: 169.7 kB / 0.534 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.1462, allocations: 39.77 kB / 0.5341 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.708e-05/0.1463, allocations: 50.17 kB / 0.5341 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1463, allocations: 8 kB / 0.5341 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.1463, allocations: 7.938 kB / 0.5341 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1463, allocations: 3.984 kB / 0.5341 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.1485, allocations: 1.229 MB / 0.5353 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/0.1485, allocations: 4 kB / 0.5354 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.1489, allocations: 95.88 kB / 0.5354 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003035/0.1492, allocations: 98.39 kB / 0.5355 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.1492, allocations: 16 kB / 0.5356 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2219/0.3711, allocations: 4.093 MB / 0.5395 GB, free: 25.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3711, allocations: 1.594 kB / 0.5395 GB, free: 25.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.3724, allocations: 0.9165 MB / 0.5404 GB, free: 24.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.3725, allocations: 36.86 kB / 0.5405 GB, free: 24.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.3725, allocations: 11.84 kB / 0.5405 GB, free: 24.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.3728, allocations: 16.16 kB / 0.5405 GB, free: 24.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3729, allocations: 52.75 kB / 0.5406 GB, free: 24.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.3729, allocations: 16.27 kB / 0.5406 GB, free: 24.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.3731, allocations: 174 kB / 0.5407 GB, free: 24.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3731, allocations: 0.5469 kB / 0.5407 GB, free: 24.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006871/0.3738, allocations: 120.9 kB / 0.5409 GB, free: 24.82 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.3752, allocations: 1.474 MB / 0.5423 GB, free: 23.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.3766, allocations: 0.7657 MB / 0.543 GB, free: 23.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3766, allocations: 1.469 kB / 0.543 GB, free: 23.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007104/0.3773, allocations: 0.5697 MB / 0.5436 GB, free: 23.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.378, allocations: 58.31 kB / 0.5437 GB, free: 23.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.3834, allocations: 4.143 MB / 0.5477 GB, free: 20.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3837, allocations: 215.1 kB / 0.5479 GB, free: 20.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.3838, allocations: 33.8 kB / 0.5479 GB, free: 20.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.384, allocations: 131.8 kB / 0.5481 GB, free: 20.76 MB / 414.1 MB Notification: Performance of SimCode: time 1.462e-06/0.384, allocations: 1.344 kB / 0.5481 GB, free: 20.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05554/0.4396, allocations: 9.119 MB / 0.557 GB, free: 19.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.67, allocations: 9.141 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.802184151951224]