Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008228/0.0008228, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.001984, allocations: 449.8 kB / 10.44 MB, free: 252 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.002009/0.002009, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001907/0.003916, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.118/1.118, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1163/1.234, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2849/0.2849, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02774/0.3127, allocations: 13.11 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.047e-05, allocations: 4.969 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003564/0.003594, allocations: 1.743 MB / 294.6 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003438/0.003938, allocations: 111.5 kB / 294.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.004014, allocations: 11.88 kB / 294.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.869e-05/0.004073, allocations: 11.86 kB / 294.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.004181, allocations: 39.62 kB / 294.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.839e-05/0.004279, allocations: 23.97 kB / 294.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.004455, allocations: 131.8 kB / 294.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.004585, allocations: 29.94 kB / 294.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.004753, allocations: 87.8 kB / 295 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/0.004849, allocations: 35.89 kB / 295 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.004885, allocations: 12 kB / 295 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.264e-05/0.004908, allocations: 8 kB / 295.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.00494, allocations: 15.94 kB / 295.1 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.00499, allocations: 35.94 kB / 295.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.005186, allocations: 75.69 kB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.659e-05/0.005203, allocations: 0 / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.005204, allocations: 0 / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.005216, allocations: 0 / 295.2 MB, free: 3.852 MB / 282.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.0004943/0.005711, allocations: 337.6 kB / 295.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.005753, allocations: 8.031 kB / 295.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.005806, allocations: 20.88 kB / 295.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.005997, allocations: 129.6 kB / 295.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.006013, allocations: 12.61 kB / 295.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.006053, allocations: 12.38 kB / 295.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.006217, allocations: 101.5 kB / 295.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.006235, allocations: 8.141 kB / 295.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.006247, allocations: 4.375 kB / 295.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.006256, allocations: 4.375 kB / 295.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.006322, allocations: 41.47 kB / 295.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.006905, allocations: 367.9 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.007021, allocations: 69.14 kB / 296.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.007049, allocations: 17.72 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.007061, allocations: 4 kB / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.00709, allocations: 30.56 kB / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.007092, allocations: 0 / 296.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003925/0.007484, allocations: 127.6 kB / 296.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.007536, allocations: 81.11 kB / 296.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.007647, allocations: 121 kB / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.007667, allocations: 33.7 kB / 296.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.007731, allocations: 111.9 kB / 296.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.007762, allocations: 31.73 kB / 296.8 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.007825, allocations: 41.64 kB / 296.9 MB, free: 2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.007932, allocations: 318.8 kB / 297.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.007962, allocations: 15.92 kB / 297.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.008033, allocations: 76.56 kB / 297.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.008157, allocations: 108.5 kB / 297.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.00816, allocations: 3.938 kB / 297.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002332/0.008393, allocations: 127 kB / 297.5 MB, free: 1.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.008415, allocations: 8 kB / 297.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.008425, allocations: 0 / 297.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.008613, allocations: 37.64 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.008701, allocations: 27.98 kB / 297.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.01038, allocations: 2.318 MB / 299.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.01043, allocations: 15.89 kB / 299.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.01044, allocations: 8.25 kB / 299.9 MB, free: 14.69 MB / 298.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.4e-05/0.01051, allocations: 117.8 kB / 300 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.01054, allocations: 11.94 kB / 300 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.01057, allocations: 11.98 kB / 300 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.01057, allocations: 0 / 300 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01057, allocations: 4 kB / 300 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01058, allocations: 0 / 300 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.01072, allocations: 93.86 kB / 300.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01072, allocations: 0 / 300.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.01079, allocations: 19.98 kB / 300.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.0108, allocations: 11.89 kB / 300.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.901e-05/0.0109, allocations: 37.58 kB / 300.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.01091, allocations: 4 kB / 300.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.01208, allocations: 2.316 MB / 302.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.01208, allocations: 7.875 kB / 302.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.01226, allocations: 268.4 kB / 302.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.01228, allocations: 7.938 kB / 302.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.01233, allocations: 192 / 302.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.01235, allocations: 11.98 kB / 302.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.01236, allocations: 7.984 kB / 302.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.559e-05/0.01238, allocations: 20.84 kB / 302.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01238, allocations: 0 / 302.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.01262, allocations: 35.95 kB / 302.9 MB, free: 11.48 MB / 298.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.0001195/0.01274, allocations: 76.41 kB / 303 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.01304, allocations: 290.4 kB / 303.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.01305, allocations: 4 kB / 303.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.0132, allocations: 266 kB / 303.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.01354, allocations: 248.5 kB / 303.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.01578, allocations: 310 kB / 304 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.204e-05/0.01583, allocations: 67.84 kB / 304.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.221e-05/0.01587, allocations: 9.25 kB / 304.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/0.01596, allocations: 71.36 kB / 304.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01596, allocations: 0 / 304.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of Templates: time 0.004558/0.02052, allocations: 1.848 MB / 306 MB, free: 8.191 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1249488731846213]