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.001392/0.001392, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001646/0.001646, allocations: 174.5 kB / 24.91 MB, free: 9.191 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.9561/0.9561, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2444/0.2444, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.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.523e-06/1.523e-06, allocations: 0 / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.794e-05, allocations: 2.312 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002848/0.002866, allocations: 2.873 MB / 328.1 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.003855, allocations: 0.7794 MB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.003971, allocations: 15.88 kB / 328.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.004106, allocations: 59.45 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.004258, allocations: 134.8 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.004474, allocations: 107.8 kB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.004755, allocations: 454.8 kB / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.004898, allocations: 114.7 kB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.005133, allocations: 263.4 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.005274, allocations: 135.6 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.00544, allocations: 32 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.879e-05/0.005509, allocations: 36 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.005552, allocations: 79.67 kB / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.181e-05/0.005634, allocations: 139.7 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.005871, allocations: 290.8 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005873, allocations: 0 / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005873, allocations: 3.938 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005877, allocations: 4 kB / 330.8 MB, free: 2.129 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.000471/0.006348, allocations: 0.5598 MB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.006375, allocations: 12.03 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.006515, allocations: 76.88 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.006689, allocations: 193.8 kB / 331.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.006707, allocations: 33.38 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.006744, allocations: 40.33 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.006985, allocations: 323.3 kB / 332 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.007001, allocations: 8.141 kB / 332 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.007018, allocations: 16.38 kB / 332 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.007026, allocations: 15.88 kB / 332 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.007133, allocations: 106.6 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009724/0.008106, allocations: 1.438 MB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.008535, allocations: 206.3 kB / 333.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.008584, allocations: 70.12 kB / 333.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.0086, allocations: 11.94 kB / 333.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.008622, allocations: 46.48 kB / 333.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.272e-06/0.008623, allocations: 0 / 333.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002417/0.008865, allocations: 165.4 kB / 334.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.008926, allocations: 213.6 kB / 334.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.009045, allocations: 266.7 kB / 334.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.009058, allocations: 29.7 kB / 334.5 MB, free: 14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.89e-05/0.009147, allocations: 239.8 kB / 334.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.0092, allocations: 119 kB / 334.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/0.009276, allocations: 106.2 kB / 335 MB, free: 13.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.009361, allocations: 342.8 kB / 335.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.009402, allocations: 41.28 kB / 335.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.009578, allocations: 381.4 kB / 335.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.009859, allocations: 0.4924 MB / 336.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.009863, allocations: 4 kB / 336.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003003/0.01016, allocations: 377.6 kB / 336.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01018, allocations: 18.5 kB / 336.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.01019, allocations: 12.5 kB / 336.6 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.0102, allocations: 19.98 kB / 336.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.01048, allocations: 169.6 kB / 336.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.01049, allocations: 27.88 kB / 336.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.01063, allocations: 63.56 kB / 336.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.01065, allocations: 31.98 kB / 337 MB, free: 11.26 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.337e-05/0.01073, allocations: 157.5 kB / 337.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/0.01082, allocations: 31.97 kB / 337.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.01085, allocations: 37.8 kB / 337.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.01085, allocations: 4 kB / 337.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01086, allocations: 0 / 337.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01086, allocations: 4 kB / 337.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.01143, allocations: 463.3 kB / 337.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01143, allocations: 0 / 337.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.01167, allocations: 100.5 kB / 337.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.01167, allocations: 7.984 kB / 337.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.01169, allocations: 12.06 kB / 337.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01169, allocations: 4 kB / 337.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.01169, allocations: 3.938 kB / 337.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.01198, allocations: 0.7353 MB / 338.5 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.012, allocations: 27.75 kB / 338.5 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.01203, allocations: 15.98 kB / 338.5 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.0122, allocations: 8 kB / 338.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.01224, allocations: 27.84 kB / 338.6 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.01225, allocations: 11.98 kB / 338.6 MB, free: 9.562 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.36e-05/0.0123, allocations: 80.66 kB / 338.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0123, allocations: 0 / 338.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003795/0.01268, allocations: 99.89 kB / 338.8 MB, free: 9.383 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.184e-05/0.01275, allocations: 88.41 kB / 338.8 MB, free: 9.285 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.01295, allocations: 221.4 kB / 339.1 MB, free: 9.066 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.01296, allocations: 8 kB / 339.1 MB, free: 9.059 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/0.01302, allocations: 77.69 kB / 339.1 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.01354, allocations: 81.31 kB / 339.2 MB, free: 8.902 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008486/0.01439, allocations: 0.8213 MB / 340 MB, free: 8.023 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.616e-05/0.01447, allocations: 108.5 kB / 340.2 MB, free: 7.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.358e-05/0.01455, allocations: 43.34 kB / 340.2 MB, free: 7.859 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.01466, allocations: 119.3 kB / 340.3 MB, free: 7.742 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01466, allocations: 0 / 340.3 MB, free: 7.742 MB / 314.7 MB Notification: Performance of Templates: time 0.005115/0.01978, allocations: 3.384 MB / 343.7 MB, free: 4.445 MB / 314.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 -s gbode -gbm=radauIIA3 -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: 2.831265039741993]