Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.0009245/0.0009245, allocations: 80.8 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.0009703/0.0009703, allocations: 174.4 kB / 24.92 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.9488/0.9488, allocations: 177.1 MB / 205.3 MB, free: 5.07 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.2495/0.2495, allocations: 34.26 MB / 296.1 MB, free: 0.6172 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.126e-05, allocations: 2.969 kB / 325.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002455/0.002466, allocations: 2.839 MB / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.003348, allocations: 0.8028 MB / 328.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.003458, allocations: 11.94 kB / 328.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.003601, allocations: 71.25 kB / 329 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.003756, allocations: 130.8 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.003985, allocations: 123.7 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.004282, allocations: 466.7 kB / 329.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.004443, allocations: 135.9 kB / 329.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.004678, allocations: 271.3 kB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.00482, allocations: 139.6 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.004855, allocations: 36 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.684e-05/0.004912, allocations: 39.98 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.004959, allocations: 87.66 kB / 330.4 MB, free: 2.547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.018e-05/0.005049, allocations: 143.7 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.005282, allocations: 294.8 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.005284, allocations: 0 / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005284, allocations: 0 / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.005288, allocations: 0 / 330.8 MB, free: 2.117 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0004804/0.005768, allocations: 0.587 MB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.609e-05/0.005794, allocations: 8.031 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.005951, allocations: 88.86 kB / 331.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.006146, allocations: 209.2 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.006163, allocations: 37.31 kB / 331.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.006203, allocations: 40.33 kB / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.006449, allocations: 302.2 kB / 332 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.006462, allocations: 4.141 kB / 332.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.006481, allocations: 16.38 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.006489, allocations: 15.94 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.006594, allocations: 103.8 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006814/0.007275, allocations: 0.7474 MB / 332.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.007461, allocations: 219.5 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.372e-05/0.007534, allocations: 90.47 kB / 333.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.007554, allocations: 19.92 kB / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.007572, allocations: 38.56 kB / 333.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 1.273e-06/0.007574, allocations: 0 / 333.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001551/0.009125, allocations: 1.575 MB / 334.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.009169, allocations: 114.8 kB / 335 MB, free: 13.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.009269, allocations: 191.4 kB / 335.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.009289, allocations: 37.7 kB / 335.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.00936, allocations: 181.4 kB / 335.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.043e-05/0.00945, allocations: 206.2 kB / 335.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.009525, allocations: 90.3 kB / 335.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.009613, allocations: 346.7 kB / 336 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.009663, allocations: 45.28 kB / 336.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.009767, allocations: 152.7 kB / 336.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.00995, allocations: 241.2 kB / 336.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.009951, allocations: 4 kB / 336.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003084/0.01026, allocations: 337.9 kB / 336.8 MB, free: 11.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.01027, allocations: 7.938 kB / 336.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01028, allocations: 7.984 kB / 336.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.01045, allocations: 106.7 kB / 336.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.01062, allocations: 95.83 kB / 337 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.01262, allocations: 4.288 MB / 341.3 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/0.01269, allocations: 12 kB / 341.3 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.01271, allocations: 19.94 kB / 341.3 MB, free: 6.887 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.841e-05/0.0128, allocations: 145.8 kB / 341.4 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.01285, allocations: 39.97 kB / 341.5 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.01289, allocations: 45.78 kB / 341.5 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01289, allocations: 8 kB / 341.5 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.0129, allocations: 4 kB / 341.5 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.0129, allocations: 0 / 341.5 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007935/0.0137, allocations: 0.8443 MB / 342.4 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.0137, allocations: 4 kB / 342.4 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.01389, allocations: 91.89 kB / 342.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.01402, allocations: 86.55 kB / 342.6 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.01403, allocations: 12.19 kB / 342.6 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.01548, allocations: 3.654 MB / 346.2 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01548, allocations: 4 kB / 346.2 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.0159, allocations: 0.6224 MB / 346.9 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.01592, allocations: 27.8 kB / 346.9 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.01595, allocations: 16.06 kB / 346.9 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.01605, allocations: 24.05 kB / 346.9 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.01612, allocations: 43.86 kB / 347 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.01613, allocations: 8 kB / 347 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.583e-05/0.01619, allocations: 59.42 kB / 347 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01619, allocations: 0 / 347 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.01656, allocations: 120 kB / 347.1 MB, free: 0.6914 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.54e-05/0.01666, allocations: 96.3 kB / 347.2 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.01719, allocations: 0.6334 MB / 347.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.01719, allocations: 4 kB / 347.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.01747, allocations: 0.5095 MB / 348.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.01778, allocations: 57.81 kB / 348.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000945/0.01872, allocations: 0.8337 MB / 349.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.295e-05/0.0188, allocations: 122.4 kB / 349.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.868e-05/0.01887, allocations: 31.27 kB / 349.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.01898, allocations: 107.3 kB / 349.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01898, allocations: 0 / 349.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of Templates: time 0.006415/0.0254, allocations: 4.697 MB / 354.2 MB, free: 9.516 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.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.975636851042509]