Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 161.1 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9978/0.9978, allocations: 177 MB / 205.2 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.309/0.309, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.248e-05, allocations: 2.312 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002668/0.002691, allocations: 1.74 MB / 327.7 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.002991, allocations: 115.5 kB / 327.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.003049, allocations: 0 / 327.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.828e-05/0.003097, allocations: 15.8 kB / 327.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.003208, allocations: 39.7 kB / 327.8 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.003316, allocations: 27.89 kB / 327.9 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.003455, allocations: 139.9 kB / 328 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003555, allocations: 22.72 kB / 328 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.003664, allocations: 75.86 kB / 328.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.003737, allocations: 31.91 kB / 328.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.003758, allocations: 12 kB / 328.1 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.592e-05/0.003774, allocations: 8 kB / 328.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.0038, allocations: 23.91 kB / 328.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.003845, allocations: 35.92 kB / 328.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.003977, allocations: 91.61 kB / 328.3 MB, free: 4.773 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.00398, allocations: 3.984 kB / 328.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003981, allocations: 4 kB / 328.3 MB, free: 4.766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.003985, allocations: 0 / 328.3 MB, free: 4.766 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003188/0.004304, allocations: 302.2 kB / 328.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.004337, allocations: 8.031 kB / 328.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.004376, allocations: 20.92 kB / 328.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.004513, allocations: 129.6 kB / 328.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.004525, allocations: 12.55 kB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.004551, allocations: 16.33 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.004682, allocations: 114.2 kB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.004693, allocations: 192 / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.004703, allocations: 8.375 kB / 328.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.00471, allocations: 4.375 kB / 328.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.004761, allocations: 37.05 kB / 328.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.00518, allocations: 367.9 kB / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.589e-05/0.005266, allocations: 65.22 kB / 329.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.005291, allocations: 21.7 kB / 329.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.005299, allocations: 4 kB / 329.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.005321, allocations: 34.5 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.005323, allocations: 8 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003138/0.005636, allocations: 119.7 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.005671, allocations: 77.11 kB / 329.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.00575, allocations: 127.5 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.005762, allocations: 29.7 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.005815, allocations: 107.9 kB / 329.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.005842, allocations: 39.67 kB / 329.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.005886, allocations: 37.69 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.005969, allocations: 318.8 kB / 330.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.005986, allocations: 11.98 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.955e-05/0.006045, allocations: 84 kB / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.446e-05/0.00614, allocations: 100.4 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006142, allocations: 4 kB / 330.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001806/0.006323, allocations: 131 kB / 330.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.006336, allocations: 4 kB / 330.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.006345, allocations: 4 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.006487, allocations: 33.95 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.006557, allocations: 31.92 kB / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.007882, allocations: 2.317 MB / 333 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.007939, allocations: 19.88 kB / 333 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.007946, allocations: 4 kB / 333 MB, free: 15.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/0.00802, allocations: 117.8 kB / 333.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.008057, allocations: 15.88 kB / 333.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.008077, allocations: 11.98 kB / 333.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.00808, allocations: 4 kB / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.008084, allocations: 0 / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008086, allocations: 0 / 333.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.008255, allocations: 93.89 kB / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.008257, allocations: 0 / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.008324, allocations: 15.98 kB / 333.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.389e-05/0.008398, allocations: 25.72 kB / 333.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.008408, allocations: 11.92 kB / 333.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.009493, allocations: 2.306 MB / 335.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.009495, allocations: 4 kB / 335.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.009673, allocations: 272.4 kB / 335.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-06/0.009681, allocations: 7.891 kB / 335.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.009693, allocations: 12.12 kB / 335.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.009773, allocations: 4 kB / 335.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.009795, allocations: 7.984 kB / 335.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.009798, allocations: 0 / 335.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.955e-05/0.009818, allocations: 19.14 kB / 335.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009818, allocations: 0 / 335.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.01013, allocations: 39.95 kB / 336 MB, free: 12.44 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.883e-05/0.01021, allocations: 80.36 kB / 336 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.01049, allocations: 288.1 kB / 336.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.01049, allocations: 0 / 336.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.01063, allocations: 262.2 kB / 336.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.01092, allocations: 34.38 kB / 336.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.01152, allocations: 322.1 kB / 336.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.496e-05/0.01158, allocations: 75.77 kB / 337 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.01161, allocations: 12.97 kB / 337 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.01168, allocations: 67.36 kB / 337.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01168, allocations: 0 / 337.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of Templates: time 0.003954/0.01563, allocations: 1.817 MB / 338.9 MB, free: 9.426 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8587202029302716]