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.0008585/0.0008585, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002033, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007101/0.0007101, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001805, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.029/1.029, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.106/1.135, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.2675/0.2675, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02266/0.2902, allocations: 13.24 MB / 292.8 MB, free: 6.367 MB / 282.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.032e-06/1.032e-06, allocations: 0 / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.898e-06/1.093e-05, allocations: 4.375 kB / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.002436/0.002447, allocations: 2.882 MB / 297 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003478, allocations: 0.7959 MB / 297.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.003601, allocations: 11.94 kB / 297.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.943e-05/0.0037, allocations: 59.38 kB / 297.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.003863, allocations: 134.8 kB / 298 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.004043, allocations: 111.7 kB / 298.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.004346, allocations: 457.7 kB / 298.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.004493, allocations: 110.8 kB / 298.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.004774, allocations: 275.4 kB / 298.9 MB, free: 240 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.004924, allocations: 135.6 kB / 299 MB, free: 104 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.004959, allocations: 32 kB / 299.1 MB, free: 72 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.044e-05/0.005039, allocations: 40 kB / 299.1 MB, free: 32 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.005089, allocations: 63.8 kB / 299.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.005169, allocations: 115.8 kB / 299.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.005412, allocations: 266.9 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.005423, allocations: 0 / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.005423, allocations: 3.938 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.005433, allocations: 0 / 299.5 MB, free: 15.59 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.0006103/0.006044, allocations: 0.6414 MB / 300.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.006072, allocations: 12.92 kB / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.006253, allocations: 153.9 kB / 300.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.006446, allocations: 193.1 kB / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.006463, allocations: 25.38 kB / 300.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.006505, allocations: 48.31 kB / 300.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.006768, allocations: 323.3 kB / 300.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.006785, allocations: 8.125 kB / 300.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.006801, allocations: 16.38 kB / 301 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.006811, allocations: 15.94 kB / 301 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.006929, allocations: 107.8 kB / 301.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.007959, allocations: 1.45 MB / 302.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.00815, allocations: 210 kB / 302.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.008199, allocations: 66.44 kB / 302.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.008216, allocations: 11.94 kB / 302.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.008239, allocations: 42.5 kB / 302.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.00824, allocations: 0 / 302.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.00024/0.008481, allocations: 161.4 kB / 303 MB, free: 11.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.008544, allocations: 217.5 kB / 303.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.008669, allocations: 263.1 kB / 303.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.008683, allocations: 37.64 kB / 303.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.008765, allocations: 239.9 kB / 303.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.008829, allocations: 119 kB / 303.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.008899, allocations: 106.2 kB / 304 MB, free: 10.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.008977, allocations: 346.7 kB / 304.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.009018, allocations: 41.28 kB / 304.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.009193, allocations: 369.1 kB / 304.7 MB, free: 9.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.009493, allocations: 0.5157 MB / 305.2 MB, free: 9.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.009498, allocations: 4 kB / 305.2 MB, free: 9.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003217/0.00982, allocations: 377.1 kB / 305.6 MB, free: 8.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.009835, allocations: 12 kB / 305.6 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.009844, allocations: 11.98 kB / 305.6 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.00986, allocations: 16 kB / 305.6 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.01015, allocations: 176.4 kB / 305.8 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.01016, allocations: 23.94 kB / 305.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.0103, allocations: 67.56 kB / 305.9 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.01032, allocations: 28 kB / 305.9 MB, free: 8.52 MB / 298.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.051e-05/0.0104, allocations: 157.5 kB / 306.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.01048, allocations: 31.91 kB / 306.1 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.01051, allocations: 33.8 kB / 306.1 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01052, allocations: 4 kB / 306.1 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01052, allocations: 0 / 306.1 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01052, allocations: 4 kB / 306.1 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.01111, allocations: 463.8 kB / 306.6 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.01111, allocations: 8.125 kB / 306.6 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.01136, allocations: 101.4 kB / 306.7 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.01138, allocations: 35.73 kB / 306.7 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.01139, allocations: 4 kB / 306.7 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.01141, allocations: 11.98 kB / 306.8 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01141, allocations: 11.88 kB / 306.8 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01141, allocations: 3.984 kB / 306.8 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.01177, allocations: 0.7395 MB / 307.5 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.0118, allocations: 12 kB / 307.5 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.01196, allocations: 4 kB / 307.5 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.012, allocations: 27.89 kB / 307.6 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.01201, allocations: 8 kB / 307.6 MB, free: 6.812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.207e-05/0.01206, allocations: 88.58 kB / 307.6 MB, free: 6.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01206, allocations: 0 / 307.6 MB, free: 6.723 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.01245, allocations: 99.89 kB / 307.7 MB, free: 6.625 MB / 298.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.228e-05/0.01252, allocations: 92.3 kB / 307.8 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.01273, allocations: 238.2 kB / 308.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.01274, allocations: 8 kB / 308.1 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/0.01281, allocations: 73.64 kB / 308.1 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.01349, allocations: 0.7479 MB / 308.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.01795, allocations: 0.7838 MB / 309.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.851e-05/0.01803, allocations: 108.6 kB / 309.8 MB, free: 4.355 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.894e-05/0.01813, allocations: 47.25 kB / 309.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.01826, allocations: 115.3 kB / 309.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01826, allocations: 0 / 309.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of Templates: time 0.005037/0.02329, allocations: 3.077 MB / 313 MB, free: 1.207 MB / 298.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.886436015367508]