Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001305/0.001305, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.00149/0.00149, allocations: 164.4 kB / 24.91 MB, free: 8.719 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.8979/0.8979, allocations: 177 MB / 205.2 MB, free: 5.461 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.2526/0.2526, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.468e-05, allocations: 4.281 kB / 325.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002478/0.002493, allocations: 2.84 MB / 328.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.003342, allocations: 0.8069 MB / 329.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.003451, allocations: 15.94 kB / 329.6 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.003587, allocations: 67.31 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.003748, allocations: 130.8 kB / 329.8 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.003974, allocations: 123.8 kB / 329.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.004267, allocations: 459.5 kB / 330.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.00446, allocations: 143.3 kB / 330.5 MB, free: 2.605 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.004689, allocations: 271.4 kB / 330.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.004833, allocations: 143.5 kB / 330.9 MB, free: 2.199 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.004866, allocations: 36 kB / 330.9 MB, free: 2.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.004924, allocations: 40 kB / 330.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.004969, allocations: 87.66 kB / 331 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.474e-05/0.005054, allocations: 135.7 kB / 331.2 MB, free: 1.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.005434, allocations: 298.9 kB / 331.5 MB, free: 1.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.005436, allocations: 4 kB / 331.5 MB, free: 1.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005437, allocations: 0 / 331.5 MB, free: 1.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.00544, allocations: 4 kB / 331.5 MB, free: 1.605 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.0004857/0.005926, allocations: 0.5831 MB / 332 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.005952, allocations: 11.97 kB / 332.1 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.00612, allocations: 84.86 kB / 332.1 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.006319, allocations: 217.1 kB / 332.4 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.006336, allocations: 29.38 kB / 332.4 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.006376, allocations: 44.31 kB / 332.4 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.006617, allocations: 298.2 kB / 332.7 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.006631, allocations: 12.12 kB / 332.7 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.00665, allocations: 16.38 kB / 332.7 MB, free: 264 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.006658, allocations: 15.92 kB / 332.8 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.006767, allocations: 103.8 kB / 332.9 MB, free: 144 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/0.007565, allocations: 0.7396 MB / 333.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.007758, allocations: 224 kB / 333.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.007838, allocations: 92.25 kB / 333.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.007856, allocations: 8 kB / 333.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.007875, allocations: 34.56 kB / 334 MB, free: 14.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 1.362e-06/0.007876, allocations: 0 / 334 MB, free: 14.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.00158/0.009457, allocations: 1.588 MB / 335.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.0095, allocations: 114.8 kB / 335.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.009598, allocations: 195.4 kB / 335.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.009619, allocations: 37.7 kB / 335.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.009682, allocations: 173.4 kB / 336 MB, free: 12.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.713e-05/0.009769, allocations: 206.2 kB / 336.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-05/0.009843, allocations: 90.3 kB / 336.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003215/0.01016, allocations: 350.7 kB / 336.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.01022, allocations: 41.3 kB / 336.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.01031, allocations: 148.8 kB / 336.9 MB, free: 11.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.01049, allocations: 244.9 kB / 337.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01049, allocations: 0 / 337.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003147/0.01081, allocations: 351.4 kB / 337.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.01082, allocations: 4 kB / 337.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01082, allocations: 4 kB / 337.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.011, allocations: 110.5 kB / 337.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.01117, allocations: 95.88 kB / 337.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.01299, allocations: 4.28 MB / 341.9 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.01307, allocations: 16 kB / 342 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.01309, allocations: 19.94 kB / 342 MB, free: 6.387 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 9.707e-05/0.01319, allocations: 141.7 kB / 342.1 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.01324, allocations: 44 kB / 342.2 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.01327, allocations: 41.8 kB / 342.2 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01328, allocations: 11.94 kB / 342.2 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.01328, allocations: 4 kB / 342.2 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.01329, allocations: 3.984 kB / 342.2 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007347/0.01402, allocations: 0.836 MB / 343.1 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01403, allocations: 0 / 343.1 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.01422, allocations: 99.88 kB / 343.1 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/0.01435, allocations: 82.44 kB / 343.2 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.01436, allocations: 12 kB / 343.2 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.01588, allocations: 3.658 MB / 346.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01588, allocations: 0 / 346.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.01629, allocations: 0.6251 MB / 347.5 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.01632, allocations: 31.8 kB / 347.6 MB, free: 468 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.01636, allocations: 12.06 kB / 347.6 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.01649, allocations: 16 kB / 347.6 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.01654, allocations: 47.84 kB / 347.6 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01656, allocations: 12 kB / 347.6 MB, free: 380 kB / 314.7 MB Notification: Performance of sorting global known variables: time 3.786e-05/0.01659, allocations: 67.44 kB / 347.7 MB, free: 312 kB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01659, allocations: 0 / 347.7 MB, free: 312 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.000361/0.01695, allocations: 120 kB / 347.8 MB, free: 192 kB / 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 7.664e-05/0.01703, allocations: 92.3 kB / 347.9 MB, free: 88 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.01751, allocations: 0.626 MB / 348.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.01752, allocations: 4 kB / 348.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.01779, allocations: 0.5013 MB / 349 MB, free: 14.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.01811, allocations: 72.3 kB / 349.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.01899, allocations: 0.8277 MB / 349.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.694e-05/0.01907, allocations: 126.4 kB / 350.1 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.592e-05/0.01913, allocations: 39.27 kB / 350.1 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.01923, allocations: 103.4 kB / 350.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01923, allocations: 0 / 350.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of Templates: time 0.006248/0.02548, allocations: 4.708 MB / 354.9 MB, free: 9.008 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.02813269989565]