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.001852/0.001852, allocations: 109 kB / 20.48 MB, free: 1.477 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.002252/0.002252, allocations: 207.9 kB / 23.78 MB, free: 4.688 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.546/1.546, allocations: 207.6 MB / 234.6 MB, free: 9.984 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.2436/0.2436, allocations: 44.25 MB / 331.1 MB, free: 9.516 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",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.002435/0.002435, allocations: 70.72 kB / 468.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1246, allocations: 61.04 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004776/0.1293, allocations: 2.859 MB / 0.5197 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.131, allocations: 0.7604 MB / 0.5204 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/0.1313, allocations: 11.94 kB / 0.5205 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1315, allocations: 67.31 kB / 0.5205 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.1318, allocations: 126.9 kB / 0.5206 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1322, allocations: 95.88 kB / 0.5207 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005443/0.1328, allocations: 446.3 kB / 0.5212 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.1331, allocations: 143 kB / 0.5213 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.1334, allocations: 175.4 kB / 0.5215 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.1336, allocations: 195.1 kB / 0.5216 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.1337, allocations: 36 kB / 0.5217 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.1337, allocations: 36 kB / 0.5217 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.1338, allocations: 79.7 kB / 0.5218 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.134, allocations: 207 kB / 0.522 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005394/0.1346, allocations: 446.1 kB / 0.5224 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1346, allocations: 0 / 0.5224 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1346, allocations: 3.938 kB / 0.5224 GB, free: 1.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.1346, allocations: 4 kB / 0.5224 GB, free: 1.656 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.001023/0.1356, allocations: 0.595 MB / 0.523 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1356, allocations: 12.03 kB / 0.523 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.152e-05/0.1357, allocations: 9.188 kB / 0.523 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.647e-05/0.1358, allocations: 78.66 kB / 0.5231 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.1358, allocations: 52.66 kB / 0.5231 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.1363, allocations: 234.8 kB / 0.5234 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.1363, allocations: 29.38 kB / 0.5234 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.1364, allocations: 40.33 kB / 0.5234 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/0.1371, allocations: 381 kB / 0.5238 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1371, allocations: 11.94 kB / 0.5238 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.1371, allocations: 15.94 kB / 0.5238 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.1371, allocations: 12 kB / 0.5238 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.1377, allocations: 247.9 kB / 0.5241 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.1394, allocations: 1.047 MB / 0.5251 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.1399, allocations: 328 kB / 0.5254 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.1403, allocations: 162.8 kB / 0.5256 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1403, allocations: 7.938 kB / 0.5256 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.1403, allocations: 42.48 kB / 0.5256 GB, free: 14.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.683e-06/0.1403, allocations: 0 / 0.5256 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003992/0.1443, allocations: 2.004 MB / 0.5276 GB, free: 12.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.1444, allocations: 114.8 kB / 0.5277 GB, free: 11.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1447, allocations: 237.9 kB / 0.5279 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.1447, allocations: 37.64 kB / 0.5279 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.1449, allocations: 188.9 kB / 0.5281 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.145, allocations: 206.2 kB / 0.5283 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.1452, allocations: 82.34 kB / 0.5284 GB, free: 11.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1453, allocations: 350.8 kB / 0.5287 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.1456, allocations: 129.2 kB / 0.5289 GB, free: 10.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.146, allocations: 228.7 kB / 0.5291 GB, free: 10.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/0.1467, allocations: 406 kB / 0.5295 GB, free: 9.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1467, allocations: 0 / 0.5295 GB, free: 9.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001123/0.1478, allocations: 0.5617 MB / 0.53 GB, free: 9.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1478, allocations: 12.09 kB / 0.53 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1478, allocations: 0 / 0.53 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.1482, allocations: 122.5 kB / 0.5301 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.1486, allocations: 95.83 kB / 0.5302 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004695/0.1533, allocations: 4.911 MB / 0.535 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.1535, allocations: 20.06 kB / 0.535 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.1536, allocations: 19.98 kB / 0.5351 GB, free: 3.863 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.0002321/0.1538, allocations: 169.7 kB / 0.5352 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1539, allocations: 39.77 kB / 0.5353 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.154, allocations: 50.05 kB / 0.5353 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.154, allocations: 11.94 kB / 0.5353 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.1541, allocations: 8 kB / 0.5353 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.1541, allocations: 3.984 kB / 0.5353 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.1562, allocations: 1.276 MB / 0.5366 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.1562, allocations: 4 kB / 0.5366 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.1567, allocations: 99.81 kB / 0.5367 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002955/0.157, allocations: 98.55 kB / 0.5368 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.157, allocations: 16 kB / 0.5368 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2135/0.3705, allocations: 4.111 MB / 0.5408 GB, free: 25.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3705, allocations: 3.5 kB / 0.5408 GB, free: 25.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.372, allocations: 0.9234 MB / 0.5417 GB, free: 24.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.3721, allocations: 33.02 kB / 0.5417 GB, free: 24.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.3722, allocations: 12.5 kB / 0.5418 GB, free: 24.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.3726, allocations: 17.69 kB / 0.5418 GB, free: 24.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.3728, allocations: 51.31 kB / 0.5418 GB, free: 24.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.3728, allocations: 19.33 kB / 0.5418 GB, free: 24.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.373, allocations: 170.5 kB / 0.542 GB, free: 24.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.373, allocations: 0 / 0.542 GB, free: 24.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007925/0.3738, allocations: 121.2 kB / 0.5421 GB, free: 24.67 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.001543/0.3753, allocations: 1.474 MB / 0.5436 GB, free: 23.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.3768, allocations: 0.7581 MB / 0.5443 GB, free: 23.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3768, allocations: 1.375 kB / 0.5443 GB, free: 23.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.3775, allocations: 0.5661 MB / 0.5449 GB, free: 23.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.3783, allocations: 58.67 kB / 0.5449 GB, free: 23.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005993/0.3843, allocations: 4.151 MB / 0.549 GB, free: 20.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.3847, allocations: 0.8191 MB / 0.5498 GB, free: 20.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.3849, allocations: 36.88 kB / 0.5498 GB, free: 20.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.385, allocations: 122.8 kB / 0.5499 GB, free: 20.01 MB / 414.1 MB Notification: Performance of SimCode: time 1.313e-06/0.385, allocations: 5 kB / 0.5499 GB, free: 20.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04516/0.4302, allocations: 8.764 MB / 0.5585 GB, free: 18.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.07, allocations: 5.688 kB / 0.5585 GB, free: 18.9 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: 16.48110983002698]