Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001146/0.001146, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002827, 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.0007285/0.0007285, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001769, 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 1.001/1.001, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1956/1.196, allocations: 49.49 MB / 220.7 MB, free: 1.367 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.1495/0.1495, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03949/0.189, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 3.938 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.556e-05/3.782e-05, allocations: 6.25 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003664/0.003702, allocations: 2.86 MB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.004917, allocations: 0.7678 MB / 271 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.005118, allocations: 11.94 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.005281, allocations: 51.45 kB / 271.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.00553, allocations: 134.8 kB / 271.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.005765, allocations: 87.81 kB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000434/0.006199, allocations: 461.7 kB / 271.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.006423, allocations: 100.8 kB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.006798, allocations: 271.4 kB / 272.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.006993, allocations: 135.6 kB / 272.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.007049, allocations: 32 kB / 272.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.007095, allocations: 32 kB / 272.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.007147, allocations: 59.75 kB / 272.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.00726, allocations: 115.8 kB / 272.5 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.007604, allocations: 259 kB / 272.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-05/0.007622, allocations: 0 / 272.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.007625, allocations: 4 kB / 272.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.007638, allocations: 0 / 272.7 MB, free: 13.18 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008418/0.008479, allocations: 0.6324 MB / 273.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.008528, allocations: 8.031 kB / 273.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.963e-05/0.008628, allocations: 60.89 kB / 273.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.008927, allocations: 186.1 kB / 273.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.008956, allocations: 33.38 kB / 273.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/0.009022, allocations: 48.27 kB / 273.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.009404, allocations: 331.2 kB / 274 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.009428, allocations: 12.12 kB / 274 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.009453, allocations: 16.38 kB / 274 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.009465, allocations: 11.94 kB / 274.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.009609, allocations: 111.7 kB / 274.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.01104, allocations: 1.442 MB / 275.6 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.01132, allocations: 206.4 kB / 275.8 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.01139, allocations: 74.03 kB / 275.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.01141, allocations: 7.938 kB / 275.9 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.01145, allocations: 46.48 kB / 275.9 MB, free: 9.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/0.01145, allocations: 0 / 275.9 MB, free: 9.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003294/0.01178, allocations: 165.4 kB / 276.1 MB, free: 9.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.01188, allocations: 213.6 kB / 276.3 MB, free: 9.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.01206, allocations: 260.7 kB / 276.6 MB, free: 9.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.01208, allocations: 25.7 kB / 276.6 MB, free: 9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.01222, allocations: 239.8 kB / 276.8 MB, free: 8.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/0.01228, allocations: 122.9 kB / 276.9 MB, free: 8.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.291e-05/0.01238, allocations: 102.2 kB / 277 MB, free: 8.527 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01249, allocations: 342.8 kB / 277.4 MB, free: 8.184 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.01254, allocations: 42.16 kB / 277.4 MB, free: 8.145 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.01276, allocations: 377.1 kB / 277.8 MB, free: 7.617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.01315, allocations: 0.5037 MB / 278.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.01316, allocations: 4 kB / 278.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003781/0.01353, allocations: 386 kB / 278.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.01356, allocations: 16.25 kB / 278.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.01357, allocations: 12 kB / 278.7 MB, free: 6.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.01359, allocations: 16 kB / 278.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.01396, allocations: 175.8 kB / 278.9 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.01397, allocations: 23.92 kB / 278.9 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.01415, allocations: 67.56 kB / 279 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.01417, allocations: 24 kB / 279 MB, free: 6.238 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.01428, allocations: 161.5 kB / 279.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/0.01437, allocations: 27.97 kB / 279.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.01442, allocations: 41.7 kB / 279.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.01443, allocations: 4 kB / 279.2 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.01443, allocations: 4 kB / 279.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.01444, allocations: 3.984 kB / 279.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/0.01521, allocations: 455.3 kB / 279.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.01522, allocations: 4 kB / 279.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.01552, allocations: 107.8 kB / 279.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.01555, allocations: 39.72 kB / 279.8 MB, free: 5.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.01556, allocations: 8.062 kB / 279.8 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.01558, allocations: 8 kB / 279.8 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.01559, allocations: 7.938 kB / 279.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.0156, allocations: 3.938 kB / 279.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.01605, allocations: 0.7288 MB / 280.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.01608, allocations: 8 kB / 280.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.01626, allocations: 12.11 kB / 280.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.01632, allocations: 27.84 kB / 280.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.01633, allocations: 16 kB / 280.6 MB, free: 4.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.778e-05/0.01639, allocations: 78.77 kB / 280.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01639, allocations: 0 / 280.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004438/0.01684, allocations: 103.8 kB / 280.8 MB, free: 4.34 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001308/0.01697, allocations: 84.36 kB / 280.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.01723, allocations: 233.2 kB / 281.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.942e-05/0.01725, allocations: 8.25 kB / 281.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.01733, allocations: 78.28 kB / 281.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.01816, allocations: 0.7474 MB / 282 MB, free: 3.043 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.02293, allocations: 0.7961 MB / 282.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.02303, allocations: 104.6 kB / 282.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.02318, allocations: 47.25 kB / 282.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.02332, allocations: 111.3 kB / 283 MB, free: 1.914 MB / 282.7 MB Notification: Performance of SimCode: time 2.966e-06/0.02333, allocations: 0 / 283 MB, free: 1.914 MB / 282.7 MB Notification: Performance of Templates: time 0.1383/0.1616, allocations: 3.04 MB / 286.1 MB, free: 13.56 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.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.9943314073607326]