Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001357/0.001357, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002017/0.003373, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007316/0.0007316, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002203/0.002935, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9952/0.9952, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1848/1.18, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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.2018/0.2018, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02538/0.2272, allocations: 12.3 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] 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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 4 kB / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.481e-05, allocations: 2.312 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003431/0.003456, allocations: 1.725 MB / 269.1 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003388/0.003795, allocations: 111.5 kB / 269.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.003862, allocations: 7.938 kB / 269.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.987e-05/0.003922, allocations: 11.86 kB / 269.2 MB, free: 0.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.004025, allocations: 39.64 kB / 269.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.893e-05/0.004114, allocations: 27.95 kB / 269.3 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.00428, allocations: 135.3 kB / 269.4 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.004402, allocations: 29.8 kB / 269.5 MB, free: 492 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.00456, allocations: 87.73 kB / 269.5 MB, free: 404 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.051e-05/0.004651, allocations: 39.89 kB / 269.6 MB, free: 364 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.00468, allocations: 8 kB / 269.6 MB, free: 356 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.004702, allocations: 8 kB / 269.6 MB, free: 348 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.004735, allocations: 19.94 kB / 269.6 MB, free: 328 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.004782, allocations: 31.94 kB / 269.6 MB, free: 296 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.004955, allocations: 79.69 kB / 269.7 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-05/0.004973, allocations: 0 / 269.7 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.004976, allocations: 0 / 269.7 MB, free: 216 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.004996, allocations: 4 kB / 269.7 MB, free: 212 kB / 266.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.000609/0.005605, allocations: 332.4 kB / 270.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.005646, allocations: 12.03 kB / 270.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.005699, allocations: 12.92 kB / 270.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.005868, allocations: 133.7 kB / 270.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.005882, allocations: 12.55 kB / 270.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.00592, allocations: 16.33 kB / 270.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.00608, allocations: 105.5 kB / 270.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.006094, allocations: 192 / 270.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.006106, allocations: 4.375 kB / 270.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.006115, allocations: 8.375 kB / 270.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.006186, allocations: 35.91 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.006753, allocations: 367.8 kB / 270.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.006855, allocations: 69.11 kB / 270.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.006892, allocations: 29.83 kB / 270.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.0069, allocations: 0 / 270.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.006926, allocations: 34.56 kB / 270.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.006927, allocations: 0 / 270.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003956/0.007323, allocations: 123.2 kB / 271 MB, free: 14.81 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.007372, allocations: 81.11 kB / 271.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.379e-05/0.007465, allocations: 126.7 kB / 271.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.007482, allocations: 25.7 kB / 271.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.007541, allocations: 119.8 kB / 271.3 MB, free: 14.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.00757, allocations: 39.62 kB / 271.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.007613, allocations: 29.7 kB / 271.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.007711, allocations: 318.8 kB / 271.7 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.00773, allocations: 12 kB / 271.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.429e-05/0.007794, allocations: 76.56 kB / 271.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.007904, allocations: 100.4 kB / 271.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.007907, allocations: 0 / 271.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002195/0.008127, allocations: 139 kB / 272 MB, free: 13.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.008144, allocations: 4 kB / 272 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.008152, allocations: 4 kB / 272 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.008334, allocations: 33.64 kB / 272.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.008416, allocations: 20.25 kB / 272.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.01011, allocations: 2.329 MB / 274.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.01018, allocations: 15.92 kB / 274.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.01019, allocations: 8 kB / 274.5 MB, free: 11.04 MB / 282.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 0.0001002/0.01029, allocations: 121.8 kB / 274.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.01033, allocations: 11.94 kB / 274.6 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.01036, allocations: 8 kB / 274.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.01036, allocations: 4 kB / 274.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01037, allocations: 0 / 274.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01037, allocations: 3.984 kB / 274.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.01059, allocations: 97.8 kB / 274.7 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01059, allocations: 0 / 274.7 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.109e-05/0.01069, allocations: 12 kB / 274.7 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.0107, allocations: 11.94 kB / 274.7 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.01081, allocations: 33.66 kB / 274.8 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.01082, allocations: 3.984 kB / 274.8 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.01228, allocations: 2.313 MB / 277.1 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.01229, allocations: 3.938 kB / 277.1 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.01252, allocations: 272.4 kB / 277.3 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.01254, allocations: 8.125 kB / 277.3 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.01263, allocations: 4 kB / 277.3 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.01266, allocations: 15.92 kB / 277.4 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.01266, allocations: 0 / 277.4 MB, free: 7.895 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.009e-05/0.01269, allocations: 20.83 kB / 277.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01269, allocations: 0 / 277.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000365/0.01306, allocations: 35.95 kB / 277.4 MB, free: 7.836 MB / 282.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 0.000144/0.0132, allocations: 76.42 kB / 277.5 MB, free: 7.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.01359, allocations: 294.2 kB / 277.8 MB, free: 7.438 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.0136, allocations: 0 / 277.8 MB, free: 7.438 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.01381, allocations: 266.3 kB / 278 MB, free: 7.148 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.01433, allocations: 254.5 kB / 278.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.01712, allocations: 309.1 kB / 278.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.178e-05/0.01717, allocations: 75.69 kB / 278.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.116e-05/0.01722, allocations: 12.64 kB / 278.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.01728, allocations: 67.36 kB / 278.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01728, allocations: 0 / 278.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of Templates: time 0.003328/0.02061, allocations: 1.848 MB / 280.6 MB, free: 4.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.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.920794009231031]