Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001285/0.001285, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001555/0.001555, allocations: 169 kB / 24.91 MB, free: 8.723 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.9207/0.9207, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.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.1465/0.1465, allocations: 34.26 MB / 296.1 MB, free: 13.98 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.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_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.416e-05, allocations: 4.844 kB / 325.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00255/0.002565, allocations: 2.821 MB / 328.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.003515, allocations: 0.7825 MB / 328.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.00363, allocations: 11.94 kB / 328.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.003773, allocations: 59.38 kB / 328.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.003944, allocations: 134.7 kB / 329 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.004177, allocations: 107.8 kB / 329.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.00447, allocations: 453.6 kB / 329.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.004617, allocations: 110.8 kB / 329.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.004877, allocations: 275.3 kB / 330 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.005028, allocations: 127.7 kB / 330.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.005064, allocations: 32 kB / 330.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.005127, allocations: 32 kB / 330.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.005174, allocations: 83.66 kB / 330.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.005268, allocations: 143.7 kB / 330.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.005523, allocations: 282.9 kB / 330.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005525, allocations: 0 / 330.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.005526, allocations: 3.984 kB / 330.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.00553, allocations: 0 / 330.7 MB, free: 11.33 MB / 314.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.0005159/0.006046, allocations: 0.5585 MB / 331.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.006076, allocations: 12.03 kB / 331.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.006215, allocations: 72.88 kB / 331.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.0064, allocations: 205.7 kB / 331.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.006419, allocations: 25.38 kB / 331.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.006461, allocations: 48.36 kB / 331.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.006714, allocations: 331.2 kB / 331.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.00673, allocations: 4.172 kB / 331.9 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.00675, allocations: 16.38 kB / 331.9 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.00676, allocations: 15.94 kB / 331.9 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.006873, allocations: 110.5 kB / 332 MB, free: 9.867 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.007884, allocations: 1.423 MB / 333.5 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.008064, allocations: 214.3 kB / 333.7 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.008121, allocations: 70.03 kB / 333.7 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.008138, allocations: 11.94 kB / 333.8 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.00816, allocations: 46.48 kB / 333.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.008162, allocations: 0 / 333.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002418/0.008403, allocations: 169.7 kB / 334 MB, free: 7.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.008471, allocations: 217.7 kB / 334.2 MB, free: 7.504 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.008606, allocations: 266.7 kB / 334.4 MB, free: 7.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.008619, allocations: 25.7 kB / 334.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.008716, allocations: 239.8 kB / 334.7 MB, free: 6.957 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.008771, allocations: 115 kB / 334.8 MB, free: 6.844 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.008845, allocations: 110.2 kB / 334.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.008938, allocations: 346.7 kB / 335.3 MB, free: 6.383 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.00898, allocations: 41.23 kB / 335.3 MB, free: 6.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.009171, allocations: 373.1 kB / 335.7 MB, free: 5.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.009475, allocations: 0.492 MB / 336.2 MB, free: 5.168 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.00948, allocations: 0 / 336.2 MB, free: 5.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003083/0.009788, allocations: 389.1 kB / 336.5 MB, free: 4.781 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.009801, allocations: 8.969 kB / 336.5 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.009811, allocations: 12 kB / 336.6 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.009829, allocations: 20 kB / 336.6 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.01004, allocations: 143.8 kB / 336.7 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.01005, allocations: 23.92 kB / 336.7 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.01019, allocations: 63.56 kB / 336.8 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.0102, allocations: 28 kB / 336.8 MB, free: 4.488 MB / 314.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 8.773e-05/0.01029, allocations: 157.6 kB / 337 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.01036, allocations: 23.92 kB / 337 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.0104, allocations: 33.8 kB / 337 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.0104, allocations: 4 kB / 337 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01041, allocations: 8 kB / 337 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01041, allocations: 3.984 kB / 337.1 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.01099, allocations: 467.3 kB / 337.5 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01099, allocations: 0 / 337.5 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.0112, allocations: 88.52 kB / 337.6 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.0112, allocations: 4 kB / 337.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.01122, allocations: 8 kB / 337.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01122, allocations: 7.984 kB / 337.6 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01123, allocations: 4 kB / 337.6 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.01154, allocations: 0.7409 MB / 338.4 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.01156, allocations: 31.69 kB / 338.4 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.01159, allocations: 8 kB / 338.4 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.01175, allocations: 12 kB / 338.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.01179, allocations: 31.83 kB / 338.4 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.0118, allocations: 8 kB / 338.4 MB, free: 2.797 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.059e-05/0.01185, allocations: 84.64 kB / 338.5 MB, free: 2.711 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01185, allocations: 0 / 338.5 MB, free: 2.711 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.01223, allocations: 103.8 kB / 338.6 MB, free: 2.609 MB / 314.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 7.576e-05/0.01231, allocations: 88.36 kB / 338.7 MB, free: 2.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.0125, allocations: 230.4 kB / 338.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.01251, allocations: 4 kB / 338.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.307e-05/0.01256, allocations: 64.7 kB / 339 MB, free: 2.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.01305, allocations: 82.34 kB / 339.1 MB, free: 2.137 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008576/0.01391, allocations: 0.8277 MB / 339.9 MB, free: 1.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.86e-05/0.01399, allocations: 108.6 kB / 340 MB, free: 1.125 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.866e-05/0.01407, allocations: 39.27 kB / 340.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.01417, allocations: 111.3 kB / 340.2 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01417, allocations: 0 / 340.2 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of Templates: time 0.004706/0.01888, allocations: 3.109 MB / 343.3 MB, free: 13.93 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.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.041122911963612]