Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001424/0.001424, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001774/0.001774, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2439/0.2439, allocations: 44.94 MB / 358.8 MB, free: 6.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002077/0.002077, allocations: 63.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3866, allocations: 65.47 MB / 0.5574 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004553/0.3912, allocations: 2.655 MB / 0.56 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.3928, allocations: 0.7673 MB / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.3929, allocations: 11.94 kB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.3932, allocations: 67.31 kB / 0.5609 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.3934, allocations: 122.9 kB / 0.561 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.3938, allocations: 119.8 kB / 0.5611 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004958/0.3943, allocations: 458.3 kB / 0.5615 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.3945, allocations: 126.8 kB / 0.5617 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.3948, allocations: 187.3 kB / 0.5618 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.3951, allocations: 159.2 kB / 0.562 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.997e-05/0.3952, allocations: 36 kB / 0.562 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3953, allocations: 39.98 kB / 0.5621 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.582e-05/0.3953, allocations: 83.69 kB / 0.5621 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3955, allocations: 171.1 kB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.3961, allocations: 464.4 kB / 0.5627 GB, free: 2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.3961, allocations: 7.984 kB / 0.5628 GB, free: 1.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3961, allocations: 4 kB / 0.5628 GB, free: 1.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.3961, allocations: 0 / 0.5628 GB, free: 1.988 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.001079/0.3972, allocations: 0.5988 MB / 0.5633 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3973, allocations: 11.97 kB / 0.5634 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003348/0.3976, allocations: 76.61 kB / 0.5634 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.3981, allocations: 242.6 kB / 0.5637 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.3981, allocations: 29.38 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.3982, allocations: 40.38 kB / 0.5637 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.3988, allocations: 389.3 kB / 0.5641 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.3989, allocations: 3.953 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.3989, allocations: 16 kB / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.3989, allocations: 8 kB / 0.5641 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.3994, allocations: 247.8 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.401, allocations: 0.9074 MB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.4016, allocations: 335.4 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.4019, allocations: 162.4 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.4019, allocations: 4 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.402, allocations: 42.55 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.884e-06/0.402, allocations: 0 / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003837/0.4058, allocations: 2.003 MB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.682e-05/0.4059, allocations: 118.7 kB / 0.5678 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.4061, allocations: 196.1 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.4062, allocations: 33.7 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.4064, allocations: 201.4 kB / 0.5682 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.4066, allocations: 202.2 kB / 0.5684 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.4067, allocations: 86.34 kB / 0.5685 GB, free: 11.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4069, allocations: 342.8 kB / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.4072, allocations: 137.2 kB / 0.569 GB, free: 11.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.4076, allocations: 232.8 kB / 0.5692 GB, free: 10.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.4082, allocations: 405.9 kB / 0.5696 GB, free: 10.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4082, allocations: 0 / 0.5696 GB, free: 10.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001126/0.4094, allocations: 0.5462 MB / 0.5701 GB, free: 9.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.4094, allocations: 10.97 kB / 0.5701 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.4094, allocations: 4 kB / 0.5701 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004439/0.4099, allocations: 118.7 kB / 0.5702 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.4103, allocations: 103.9 kB / 0.5703 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005325/0.4156, allocations: 4.807 MB / 0.575 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.4159, allocations: 20.23 kB / 0.5751 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.4159, allocations: 24 kB / 0.5751 GB, free: 4.59 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.0002682/0.4162, allocations: 170.2 kB / 0.5752 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4163, allocations: 35.77 kB / 0.5753 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.12e-05/0.4164, allocations: 49.73 kB / 0.5753 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.4164, allocations: 12.06 kB / 0.5753 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/0.4164, allocations: 4 kB / 0.5753 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4164, allocations: 3.984 kB / 0.5753 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.4184, allocations: 1.171 MB / 0.5765 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4184, allocations: 0 / 0.5765 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/0.4189, allocations: 103.8 kB / 0.5766 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.4192, allocations: 90.52 kB / 0.5767 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.4192, allocations: 12 kB / 0.5767 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/0.423, allocations: 4.045 MB / 0.5806 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.423, allocations: 7.922 kB / 0.5806 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.4246, allocations: 0.9183 MB / 0.5815 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.4247, allocations: 27.81 kB / 0.5816 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.4247, allocations: 16 kB / 0.5816 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.425, allocations: 15.98 kB / 0.5816 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.4251, allocations: 43.92 kB / 0.5816 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.4251, allocations: 15.94 kB / 0.5817 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.4253, allocations: 153.8 kB / 0.5818 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4253, allocations: 0 / 0.5818 GB, free: 13.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007791/0.4261, allocations: 120 kB / 0.5819 GB, free: 13.18 MB / 430.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.0001628/0.4262, allocations: 107.2 kB / 0.582 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.4277, allocations: 0.7572 MB / 0.5828 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4277, allocations: 0 / 0.5828 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.4286, allocations: 0.5685 MB / 0.5833 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.4292, allocations: 61.08 kB / 0.5834 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.4313, allocations: 1.095 MB / 0.5844 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.4316, allocations: 216.9 kB / 0.5846 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.4317, allocations: 35.27 kB / 0.5847 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.881e-05/0.4318, allocations: 27.42 kB / 0.5847 GB, free: 10.18 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4318, allocations: 4 kB / 0.5847 GB, free: 10.18 MB / 430.1 MB Notification: Performance of Templates: time 0.01111/0.4429, allocations: 4.858 MB / 0.5895 GB, free: 5.352 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.461184814572334]