Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0017/0.0017, allocations: 164.2 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.961/0.961, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2735/0.2735, allocations: 34.87 MB / 296.6 MB, free: 452 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.378e-05, allocations: 3.859 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00324/0.003264, allocations: 2.864 MB / 328.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.004744, allocations: 0.7882 MB / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.004972, allocations: 15.88 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.005152, allocations: 51.44 kB / 329.7 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.00539, allocations: 134.8 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.005706, allocations: 119.6 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.006135, allocations: 451 kB / 330.4 MB, free: 2.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.006332, allocations: 110.8 kB / 330.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004083/0.00674, allocations: 255.4 kB / 330.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.006936, allocations: 135.6 kB / 330.9 MB, free: 2.156 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.00698, allocations: 32 kB / 330.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.007074, allocations: 36 kB / 330.9 MB, free: 2.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.007123, allocations: 83.66 kB / 331 MB, free: 2.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.007228, allocations: 143.7 kB / 331.1 MB, free: 1.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.007554, allocations: 286.9 kB / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007558, allocations: 0 / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.007559, allocations: 0 / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.007565, allocations: 0 / 331.4 MB, free: 1.586 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.0005661/0.008131, allocations: 0.5676 MB / 332 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.008172, allocations: 8.031 kB / 332 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.008372, allocations: 88.88 kB / 332.1 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.00863, allocations: 186.7 kB / 332.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.008652, allocations: 29.38 kB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.008699, allocations: 40.33 kB / 332.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.009011, allocations: 327.3 kB / 332.7 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.009032, allocations: 16.06 kB / 332.7 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.00905, allocations: 12.38 kB / 332.7 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.009059, allocations: 11.94 kB / 332.7 MB, free: 236 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.00918, allocations: 105 kB / 332.8 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.01052, allocations: 1.446 MB / 334.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.01076, allocations: 206.1 kB / 334.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.039e-05/0.01082, allocations: 66.27 kB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.01084, allocations: 15.88 kB / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.01087, allocations: 46.64 kB / 334.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.414e-06/0.01088, allocations: 0 / 334.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003216/0.0112, allocations: 161.3 kB / 334.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.01128, allocations: 209.6 kB / 334.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.01145, allocations: 262.7 kB / 335.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.01146, allocations: 33.7 kB / 335.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.01157, allocations: 239.8 kB / 335.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.01163, allocations: 123.3 kB / 335.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.01171, allocations: 110.2 kB / 335.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.0118, allocations: 342.8 kB / 336 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.01185, allocations: 41.28 kB / 336.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.01204, allocations: 381 kB / 336.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.01239, allocations: 0.4884 MB / 336.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.0124, allocations: 4 kB / 336.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003597/0.01276, allocations: 377.5 kB / 337.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.01278, allocations: 15.94 kB / 337.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.01279, allocations: 15.98 kB / 337.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.01281, allocations: 16 kB / 337.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.01314, allocations: 166.4 kB / 337.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.01315, allocations: 19.94 kB / 337.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.01333, allocations: 68.41 kB / 337.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.01336, allocations: 31.98 kB / 337.6 MB, free: 10.71 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 0.0001185/0.01347, allocations: 157.5 kB / 337.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.01357, allocations: 27.97 kB / 337.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.01362, allocations: 33.8 kB / 337.8 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.01363, allocations: 4 kB / 337.8 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.01364, allocations: 8 kB / 337.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01364, allocations: 0 / 337.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.01432, allocations: 463.3 kB / 338.3 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01432, allocations: 8.062 kB / 338.3 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.01459, allocations: 101.9 kB / 338.4 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.0146, allocations: 4 kB / 338.4 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.01462, allocations: 8 kB / 338.4 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.01462, allocations: 4 kB / 338.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01463, allocations: 7.938 kB / 338.4 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.01501, allocations: 0.732 MB / 339.2 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.01504, allocations: 35.75 kB / 339.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.01507, allocations: 15.98 kB / 339.2 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.01526, allocations: 4 kB / 339.2 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.01531, allocations: 27.84 kB / 339.2 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.01532, allocations: 15.98 kB / 339.3 MB, free: 9.012 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.01538, allocations: 80.64 kB / 339.3 MB, free: 8.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01538, allocations: 0 / 339.3 MB, free: 8.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004696/0.01585, allocations: 103.8 kB / 339.4 MB, free: 8.828 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 0.0001124/0.01597, allocations: 92.34 kB / 339.5 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.01621, allocations: 217.5 kB / 339.7 MB, free: 8.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/0.01622, allocations: 12.12 kB / 339.7 MB, free: 8.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.0163, allocations: 72.62 kB / 339.8 MB, free: 8.426 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.01686, allocations: 82.88 kB / 339.9 MB, free: 8.348 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.0179, allocations: 0.8179 MB / 340.7 MB, free: 7.473 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.972e-05/0.01799, allocations: 104.6 kB / 340.8 MB, free: 7.348 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.0181, allocations: 47.25 kB / 340.9 MB, free: 7.305 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.01824, allocations: 111.3 kB / 341 MB, free: 7.195 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01824, allocations: 0 / 341 MB, free: 7.195 MB / 314.7 MB Notification: Performance of Templates: time 0.005763/0.02401, allocations: 3.377 MB / 344.4 MB, free: 3.902 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.945193904917687]