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.001085/0.001085, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001184/0.001184, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 18.57 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 0.9932/0.9932, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.2562/0.2562, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.572e-05, allocations: 5.578 kB / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00404/0.004065, allocations: 2.876 MB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.005493, allocations: 0.8098 MB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.005687, allocations: 15.88 kB / 327 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.005875, allocations: 59.31 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.00614, allocations: 134.8 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.006463, allocations: 111.8 kB / 327.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.006902, allocations: 478.6 kB / 327.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.007133, allocations: 144.1 kB / 327.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.007516, allocations: 263.4 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.007737, allocations: 143.6 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/0.007787, allocations: 36 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.946e-05/0.007887, allocations: 39.98 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.007948, allocations: 83.67 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.008074, allocations: 147.6 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.008418, allocations: 294.8 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.008421, allocations: 4 kB / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008421, allocations: 0 / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.008427, allocations: 0 / 328.9 MB, free: 4.055 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006767/0.009104, allocations: 0.5907 MB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.009139, allocations: 12.03 kB / 329.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.009404, allocations: 80.86 kB / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.009684, allocations: 210.2 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.009711, allocations: 29.38 kB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.009765, allocations: 48.33 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.01017, allocations: 306.1 kB / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.01019, allocations: 4.141 kB / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.01021, allocations: 16.38 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.01023, allocations: 15.94 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.01039, allocations: 95.91 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.01156, allocations: 0.7435 MB / 331 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.01184, allocations: 231.4 kB / 331.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.01197, allocations: 90.47 kB / 331.3 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.01199, allocations: 11.98 kB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.01202, allocations: 42.5 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.693e-06/0.01202, allocations: 0 / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.002253/0.01427, allocations: 1.585 MB / 332.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.01432, allocations: 106.8 kB / 333 MB, free: 15.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.01445, allocations: 187.4 kB / 333.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.01447, allocations: 37.7 kB / 333.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.01456, allocations: 185.4 kB / 333.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.01468, allocations: 206.2 kB / 333.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.01478, allocations: 86.3 kB / 333.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.01488, allocations: 342.8 kB / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.01496, allocations: 45.28 kB / 334.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.01509, allocations: 161.6 kB / 334.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.01535, allocations: 253.9 kB / 334.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01536, allocations: 0 / 334.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004637/0.01582, allocations: 338.5 kB / 334.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.01584, allocations: 8 kB / 334.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.01585, allocations: 4.094 kB / 334.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.0161, allocations: 106.4 kB / 335 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.01641, allocations: 99.88 kB / 335.1 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.01925, allocations: 4.325 MB / 339.4 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.01938, allocations: 16 kB / 339.4 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.0194, allocations: 12 kB / 339.4 MB, free: 8.789 MB / 314.7 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.0001206/0.01952, allocations: 141.7 kB / 339.5 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.633e-05/0.01961, allocations: 47.94 kB / 339.6 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.01966, allocations: 45.8 kB / 339.6 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.01966, allocations: 4 kB / 339.6 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.01967, allocations: 4 kB / 339.6 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.01968, allocations: 3.984 kB / 339.7 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.02074, allocations: 0.8403 MB / 340.5 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.02075, allocations: 3.984 kB / 340.5 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.02107, allocations: 107.8 kB / 340.6 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.02125, allocations: 82.59 kB / 340.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.02127, allocations: 16.19 kB / 340.7 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.0233, allocations: 3.67 MB / 344.4 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.0233, allocations: 4 kB / 344.4 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.02409, allocations: 0.6214 MB / 345 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.02413, allocations: 39.72 kB / 345 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.02416, allocations: 20.05 kB / 345.1 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.02435, allocations: 20.03 kB / 345.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-05/0.02445, allocations: 51.8 kB / 345.1 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.02447, allocations: 11.98 kB / 345.1 MB, free: 2.723 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.105e-05/0.02453, allocations: 51.44 kB / 345.2 MB, free: 2.668 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02453, allocations: 0 / 345.2 MB, free: 2.668 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006486/0.02518, allocations: 120 kB / 345.3 MB, free: 2.551 MB / 314.7 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.0001259/0.02531, allocations: 92.34 kB / 345.4 MB, free: 2.449 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006954/0.026, allocations: 0.6336 MB / 346 MB, free: 1.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.02601, allocations: 4 kB / 346 MB, free: 1.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.02642, allocations: 0.5056 MB / 346.5 MB, free: 1.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.02689, allocations: 57.95 kB / 346.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.02817, allocations: 0.8242 MB / 347.4 MB, free: 300 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.02828, allocations: 122.4 kB / 347.5 MB, free: 156 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.02839, allocations: 35.25 kB / 347.6 MB, free: 124 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.02852, allocations: 99.36 kB / 347.7 MB, free: 24 kB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02852, allocations: 0 / 347.7 MB, free: 24 kB / 314.7 MB Notification: Performance of Templates: time 0.008631/0.03716, allocations: 4.771 MB / 352.4 MB, free: 11.33 MB / 330.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.106817333959043]