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.00218/0.00218, 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.002508/0.002508, allocations: 216.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.723/1.723, 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.2347/0.2347, allocations: 44.27 MB / 330.3 MB, free: 9.293 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: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") [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.002537/0.002537, allocations: 71.91 kB / 468 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1588, allocations: 61.04 MB / 0.5166 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004598/0.1634, allocations: 2.642 MB / 0.5192 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.165, allocations: 0.7371 MB / 0.5199 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1652, allocations: 11.94 kB / 0.5199 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.1654, allocations: 55.33 kB / 0.52 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.1656, allocations: 130.9 kB / 0.5201 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.166, allocations: 91.88 kB / 0.5202 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005235/0.1665, allocations: 446.3 kB / 0.5206 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.1668, allocations: 134.7 kB / 0.5208 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.167, allocations: 175.4 kB / 0.5209 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.1673, allocations: 163.2 kB / 0.5211 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.4e-05/0.1674, allocations: 36 kB / 0.5211 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.1674, allocations: 36 kB / 0.5212 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.1675, allocations: 87.62 kB / 0.5212 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.1677, allocations: 171.2 kB / 0.5214 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.1683, allocations: 446.2 kB / 0.5218 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1683, allocations: 0 / 0.5218 GB, free: 1.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1683, allocations: 0 / 0.5218 GB, free: 1.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1683, allocations: 0 / 0.5218 GB, free: 1.32 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.001165/0.1695, allocations: 0.5988 MB / 0.5224 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.1695, allocations: 16.03 kB / 0.5224 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1696, allocations: 48.66 kB / 0.5225 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.1702, allocations: 226.8 kB / 0.5227 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.1702, allocations: 29.38 kB / 0.5227 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.1703, allocations: 52.25 kB / 0.5228 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.1711, allocations: 381.4 kB / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.1711, allocations: 0 / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.1711, allocations: 16 kB / 0.5231 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.1711, allocations: 19.98 kB / 0.5232 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005478/0.1717, allocations: 239.8 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.1734, allocations: 0.9109 MB / 0.5243 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.174, allocations: 335.9 kB / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.1743, allocations: 158.8 kB / 0.5248 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.1744, allocations: 4 kB / 0.5248 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.1744, allocations: 38.56 kB / 0.5248 GB, free: 14.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.533e-06/0.1744, allocations: 0 / 0.5248 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003994/0.1784, allocations: 1.996 MB / 0.5267 GB, free: 11.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/0.1785, allocations: 114.8 kB / 0.5269 GB, free: 11.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.1787, allocations: 183.2 kB / 0.527 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.1787, allocations: 37.7 kB / 0.5271 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1789, allocations: 189.5 kB / 0.5272 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.1791, allocations: 206.2 kB / 0.5274 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.1792, allocations: 90.3 kB / 0.5275 GB, free: 11.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.1794, allocations: 346.7 kB / 0.5279 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.1797, allocations: 133.2 kB / 0.528 GB, free: 10.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.1801, allocations: 232.7 kB / 0.5282 GB, free: 10.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.1808, allocations: 406 kB / 0.5286 GB, free: 9.934 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1808, allocations: 0 / 0.5286 GB, free: 9.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00106/0.1819, allocations: 0.5462 MB / 0.5291 GB, free: 9.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1819, allocations: 8 kB / 0.5291 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.1819, allocations: 7.922 kB / 0.5291 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003785/0.1823, allocations: 126.4 kB / 0.5293 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.1827, allocations: 95.98 kB / 0.5294 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.1874, allocations: 4.823 MB / 0.5341 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.1876, allocations: 16 kB / 0.5341 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.1876, allocations: 16 kB / 0.5341 GB, free: 3.969 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.0002344/0.1878, allocations: 177.6 kB / 0.5343 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.188, allocations: 31.88 kB / 0.5343 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.203e-05/0.188, allocations: 49.81 kB / 0.5343 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.1881, allocations: 7.984 kB / 0.5344 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.1881, allocations: 4 kB / 0.5344 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1881, allocations: 0 / 0.5344 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.1901, allocations: 1.175 MB / 0.5355 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1901, allocations: 4 kB / 0.5355 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.1905, allocations: 95.88 kB / 0.5356 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/0.1908, allocations: 90.45 kB / 0.5357 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.1908, allocations: 16 kB / 0.5357 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3598/0.5507, allocations: 4.032 MB / 0.5396 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5507, allocations: 1.719 kB / 0.5396 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.5522, allocations: 0.9187 MB / 0.5405 GB, free: 25.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.5522, allocations: 31.22 kB / 0.5406 GB, free: 25.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.5523, allocations: 11.84 kB / 0.5406 GB, free: 25.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.5525, allocations: 23.45 kB / 0.5406 GB, free: 25.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.5527, allocations: 44.77 kB / 0.5406 GB, free: 25.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.5527, allocations: 15.22 kB / 0.5407 GB, free: 25.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.5528, allocations: 141.2 kB / 0.5408 GB, free: 25.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5528, allocations: 3.172 kB / 0.5408 GB, free: 25.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007841/0.5536, allocations: 120.3 kB / 0.5409 GB, free: 25.04 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.0001548/0.5538, allocations: 112.4 kB / 0.541 GB, free: 24.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.5551, allocations: 0.758 MB / 0.5418 GB, free: 24.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5551, allocations: 9.516 kB / 0.5418 GB, free: 24.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006949/0.5558, allocations: 0.5589 MB / 0.5423 GB, free: 24.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/0.5565, allocations: 64.62 kB / 0.5424 GB, free: 24.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.5584, allocations: 1.092 MB / 0.5434 GB, free: 23.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.5586, allocations: 214.9 kB / 0.5436 GB, free: 23.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.5588, allocations: 34.67 kB / 0.5437 GB, free: 23.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.5589, allocations: 27.55 kB / 0.5437 GB, free: 23.62 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5589, allocations: 3.938 kB / 0.5437 GB, free: 23.62 MB / 414.1 MB Notification: Performance of Templates: time 0.01256/0.5714, allocations: 4.839 MB / 0.5484 GB, free: 23.11 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/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: 5.988016117364168]