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.001155/0.001155, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001262/0.001262, allocations: 161.1 kB / 24.91 MB, free: 9.211 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.9581/0.9581, allocations: 177 MB / 205.2 MB, free: 5.445 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.2741/0.2741, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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 2.354e-06/2.354e-06, allocations: 4 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.63e-05, allocations: 4.516 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003124/0.00315, allocations: 2.892 MB / 328.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.004577, allocations: 0.803 MB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.004798, allocations: 15.88 kB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.004966, allocations: 67.31 kB / 329.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.005169, allocations: 134.8 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.005442, allocations: 115.8 kB / 330 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.005771, allocations: 471.4 kB / 330.4 MB, free: 2.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.005975, allocations: 143.3 kB / 330.6 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.006287, allocations: 263.4 kB / 330.8 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.006462, allocations: 143.6 kB / 331 MB, free: 2.117 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.006501, allocations: 32 kB / 331 MB, free: 2.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.611e-05/0.006587, allocations: 40 kB / 331 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.006631, allocations: 83.67 kB / 331.1 MB, free: 1.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.649e-05/0.006727, allocations: 151.6 kB / 331.3 MB, free: 1.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.007017, allocations: 298.8 kB / 331.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.007021, allocations: 0 / 331.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.007023, allocations: 0 / 331.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.007029, allocations: 0 / 331.5 MB, free: 1.523 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.0005364/0.007565, allocations: 0.587 MB / 332.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.007596, allocations: 8.031 kB / 332.1 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.007784, allocations: 88.86 kB / 332.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.008017, allocations: 205.2 kB / 332.4 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.008036, allocations: 29.38 kB / 332.5 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.008079, allocations: 44.31 kB / 332.5 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.00843, allocations: 306.1 kB / 332.8 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.008448, allocations: 8.141 kB / 332.8 MB, free: 200 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.00847, allocations: 16.38 kB / 332.8 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.008481, allocations: 15.94 kB / 332.8 MB, free: 168 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.008614, allocations: 95.91 kB / 332.9 MB, free: 72 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008058/0.009419, allocations: 0.7473 MB / 333.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.009638, allocations: 227.5 kB / 333.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.00972, allocations: 88.31 kB / 334 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.009742, allocations: 16 kB / 334 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.009764, allocations: 34.5 kB / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 2.395e-06/0.009766, allocations: 0 / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001725/0.01149, allocations: 1.584 MB / 335.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.01154, allocations: 110.8 kB / 335.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.01165, allocations: 195.4 kB / 335.9 MB, free: 12.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.01166, allocations: 41.7 kB / 336 MB, free: 12.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.01174, allocations: 177.4 kB / 336.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-05/0.01183, allocations: 210.2 kB / 336.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.0119, allocations: 86.31 kB / 336.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.01198, allocations: 346.7 kB / 336.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.333e-05/0.01204, allocations: 49.22 kB / 336.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.914e-05/0.01214, allocations: 140.8 kB / 337 MB, free: 11.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.01233, allocations: 253.6 kB / 337.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01233, allocations: 8 kB / 337.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003496/0.01268, allocations: 333.8 kB / 337.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.0127, allocations: 4 kB / 337.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01271, allocations: 4 kB / 337.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.0129, allocations: 106.5 kB / 337.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.01313, allocations: 107.8 kB / 337.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.0154, allocations: 4.317 MB / 342.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01551, allocations: 16 kB / 342.1 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.01553, allocations: 12 kB / 342.1 MB, free: 6.277 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 0.0001095/0.01564, allocations: 141.7 kB / 342.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.01571, allocations: 43.91 kB / 342.3 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.01575, allocations: 45.8 kB / 342.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01575, allocations: 8 kB / 342.3 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.01576, allocations: 4 kB / 342.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.01577, allocations: 12 kB / 342.3 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008405/0.01661, allocations: 0.8292 MB / 343.2 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.01661, allocations: 8 kB / 343.2 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.01684, allocations: 115.9 kB / 343.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.01698, allocations: 78.5 kB / 343.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.017, allocations: 12 kB / 343.4 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.01859, allocations: 3.679 MB / 347.1 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01859, allocations: 4.094 kB / 347.1 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.01905, allocations: 0.6251 MB / 347.7 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.01907, allocations: 27.81 kB / 347.7 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.01909, allocations: 11.98 kB / 347.7 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.01921, allocations: 12 kB / 347.7 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.01928, allocations: 51.8 kB / 347.8 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.01929, allocations: 15.98 kB / 347.8 MB, free: 224 kB / 314.7 MB Notification: Performance of sorting global known variables: time 4.164e-05/0.01933, allocations: 59.42 kB / 347.9 MB, free: 160 kB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01933, allocations: 4 kB / 347.9 MB, free: 156 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004094/0.01974, allocations: 116 kB / 348 MB, free: 40 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 0.0001059/0.01985, allocations: 88.34 kB / 348.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.02041, allocations: 0.6377 MB / 348.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.02041, allocations: 0 / 348.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.02072, allocations: 0.5013 MB / 349.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.02106, allocations: 68.12 kB / 349.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.02208, allocations: 0.8241 MB / 350.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.701e-05/0.02217, allocations: 122.5 kB / 350.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.161e-05/0.02225, allocations: 43.25 kB / 350.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.02237, allocations: 107.2 kB / 350.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02237, allocations: 0 / 350.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of Templates: time 0.006759/0.02913, allocations: 4.748 MB / 355.1 MB, free: 8.816 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 -s gbode -gbm=radauIIA3 -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.064208399038762]