Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.00115/0.00115, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001934/0.003084, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001157/0.001157, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001643/0.0028, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.044/1.044, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1081/1.152, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.2629/0.2629, allocations: 34.88 MB / 279.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02516/0.288, allocations: 13.24 MB / 292.8 MB, free: 6.398 MB / 282.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.354e-05, allocations: 8.375 kB / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002825/0.002849, allocations: 2.903 MB / 297 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.00404, allocations: 0.8108 MB / 297.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.004164, allocations: 11.94 kB / 297.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.004284, allocations: 75.25 kB / 297.9 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.004466, allocations: 122.8 kB / 298 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.004686, allocations: 123.7 kB / 298.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.005033, allocations: 478.1 kB / 298.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.00522, allocations: 135.4 kB / 298.7 MB, free: 444 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.005539, allocations: 288.3 kB / 299 MB, free: 152 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.005699, allocations: 139.6 kB / 299.2 MB, free: 12 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.005748, allocations: 39.98 kB / 299.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.16e-05/0.00583, allocations: 39.98 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.00587, allocations: 59.81 kB / 299.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.005949, allocations: 119.8 kB / 299.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.00621, allocations: 278.8 kB / 299.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.00622, allocations: 0 / 299.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006221, allocations: 0 / 299.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.006231, allocations: 0 / 299.7 MB, free: 15.48 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.0006024/0.006833, allocations: 0.6647 MB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.006863, allocations: 8.922 kB / 300.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.007074, allocations: 166 kB / 300.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.007306, allocations: 221 kB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.007325, allocations: 25.38 kB / 300.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.007367, allocations: 44.33 kB / 300.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.00763, allocations: 306.2 kB / 301.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.007644, allocations: 4.188 kB / 301.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.007662, allocations: 16.38 kB / 301.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.007671, allocations: 11.94 kB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.007782, allocations: 95.86 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.008547, allocations: 0.7515 MB / 302 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.008756, allocations: 228.7 kB / 302.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.008834, allocations: 93.28 kB / 302.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.008853, allocations: 8 kB / 302.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.008872, allocations: 38.55 kB / 302.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.522e-06/0.008874, allocations: 0 / 302.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.001647/0.01052, allocations: 1.608 MB / 303.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.01056, allocations: 114.8 kB / 304.1 MB, free: 10.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.01066, allocations: 187.4 kB / 304.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.01068, allocations: 37.7 kB / 304.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.01074, allocations: 177.4 kB / 304.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.283e-05/0.01084, allocations: 214.1 kB / 304.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.01091, allocations: 82.31 kB / 304.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.01099, allocations: 350.7 kB / 305.1 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.907e-05/0.01104, allocations: 45.3 kB / 305.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.01114, allocations: 156.7 kB / 305.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.01135, allocations: 242.1 kB / 305.5 MB, free: 9.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01135, allocations: 0 / 305.5 MB, free: 9.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003252/0.01167, allocations: 337.2 kB / 305.8 MB, free: 8.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.01169, allocations: 8 kB / 305.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.0117, allocations: 8 kB / 305.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.01188, allocations: 114.4 kB / 306 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.01211, allocations: 116 kB / 306.1 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.01409, allocations: 4.322 MB / 310.4 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.01419, allocations: 15.98 kB / 310.4 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.0142, allocations: 19.98 kB / 310.4 MB, free: 4.012 MB / 298.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 9.481e-05/0.0143, allocations: 137.8 kB / 310.6 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.01436, allocations: 43.91 kB / 310.6 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.0144, allocations: 41.8 kB / 310.7 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.0144, allocations: 8 kB / 310.7 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.01441, allocations: 7.938 kB / 310.7 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.01441, allocations: 3.984 kB / 310.7 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007597/0.01517, allocations: 0.84 MB / 311.5 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.01518, allocations: 4 kB / 311.5 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.0154, allocations: 115.8 kB / 311.6 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.01542, allocations: 31.8 kB / 311.7 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/0.01555, allocations: 78.61 kB / 311.7 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.01557, allocations: 12 kB / 311.8 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.01701, allocations: 3.682 MB / 315.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.01701, allocations: 4 kB / 315.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.01744, allocations: 0.6285 MB / 316.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.01746, allocations: 12 kB / 316.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.01758, allocations: 19.94 kB / 316.1 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.01765, allocations: 55.78 kB / 316.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.01766, allocations: 8 kB / 316.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.197e-05/0.0177, allocations: 59.41 kB / 316.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0177, allocations: 0 / 316.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000407/0.01811, allocations: 120 kB / 316.3 MB, free: 13.77 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.0001008/0.01821, allocations: 100.4 kB / 316.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006267/0.01883, allocations: 0.6322 MB / 317.1 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/0.01885, allocations: 4 kB / 317.1 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.01917, allocations: 0.5399 MB / 317.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.01962, allocations: 438.8 kB / 318 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00497/0.02459, allocations: 0.8228 MB / 318.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.313e-05/0.02468, allocations: 122.4 kB / 319 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.434e-05/0.02477, allocations: 39.67 kB / 319 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.0249, allocations: 111.3 kB / 319.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/0.0249, allocations: 0 / 319.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Templates: time 0.007071/0.03197, allocations: 5.146 MB / 324.3 MB, free: 5.672 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.913132610730827]