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.001355/0.001355, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002265/0.00362, allocations: 449.7 kB / 10.37 MB, free: 324 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.001151/0.001151, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002617, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.034/1.034, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09149/1.126, allocations: 53.87 MB / 243.8 MB, free: 14.92 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.2537/0.2537, allocations: 34.86 MB / 279.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02297/0.2767, allocations: 13.23 MB / 292.6 MB, free: 6.473 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.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.242e-06/1.242e-06, allocations: 0 / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.974e-05, allocations: 8.984 kB / 293.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002725/0.002745, allocations: 2.898 MB / 296.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009975/0.003743, allocations: 0.8146 MB / 297.6 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.003862, allocations: 11.94 kB / 297.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.003973, allocations: 71.31 kB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.004142, allocations: 134.8 kB / 297.8 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.004318, allocations: 119.7 kB / 297.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.004622, allocations: 474.2 kB / 298.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.00481, allocations: 135.4 kB / 298.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.005083, allocations: 284.2 kB / 298.8 MB, free: 272 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.00523, allocations: 139.6 kB / 298.9 MB, free: 132 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.005265, allocations: 36 kB / 298.9 MB, free: 96 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.041e-05/0.005346, allocations: 43.98 kB / 299 MB, free: 52 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.005398, allocations: 59.8 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.005483, allocations: 119.8 kB / 299.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.005755, allocations: 278.8 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.00577, allocations: 0 / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005771, allocations: 0 / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.005783, allocations: 0 / 299.4 MB, free: 15.6 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.0006084/0.006392, allocations: 0.6686 MB / 300.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.006421, allocations: 8.922 kB / 300.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.006624, allocations: 162 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.006834, allocations: 225 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.006854, allocations: 33.38 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.006892, allocations: 40.33 kB / 300.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.007159, allocations: 302.2 kB / 300.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.007174, allocations: 4.188 kB / 300.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.007194, allocations: 16.38 kB / 300.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.007202, allocations: 11.94 kB / 300.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.007313, allocations: 99.86 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.008017, allocations: 0.7476 MB / 301.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.008215, allocations: 225 kB / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.562e-05/0.00829, allocations: 96.23 kB / 302 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.008308, allocations: 8 kB / 302 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.008328, allocations: 34.56 kB / 302.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.008329, allocations: 4 kB / 302.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.00162/0.009949, allocations: 1.584 MB / 303.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.009988, allocations: 106.8 kB / 303.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.01009, allocations: 195.4 kB / 304 MB, free: 10.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.0101, allocations: 29.7 kB / 304 MB, free: 10.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.01017, allocations: 181.4 kB / 304.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.407e-05/0.01026, allocations: 210.1 kB / 304.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.01033, allocations: 86.31 kB / 304.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.01042, allocations: 350.7 kB / 304.8 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-05/0.01047, allocations: 45.3 kB / 304.8 MB, free: 9.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.575e-05/0.01056, allocations: 157.4 kB / 305 MB, free: 9.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.01074, allocations: 241.5 kB / 305.2 MB, free: 9.355 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.01074, allocations: 0 / 305.2 MB, free: 9.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003141/0.01106, allocations: 342 kB / 305.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.01107, allocations: 8 kB / 305.6 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01108, allocations: 4 kB / 305.6 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.01126, allocations: 110.6 kB / 305.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.0115, allocations: 115.9 kB / 305.8 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.01359, allocations: 4.323 MB / 310.1 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/0.01368, allocations: 16 kB / 310.1 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.0137, allocations: 19.98 kB / 310.2 MB, free: 4.152 MB / 298.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.147e-05/0.01379, allocations: 137.8 kB / 310.3 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.01385, allocations: 43.91 kB / 310.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.01389, allocations: 41.8 kB / 310.4 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01389, allocations: 8 kB / 310.4 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.0139, allocations: 4 kB / 310.4 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0139, allocations: 3.938 kB / 310.4 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000838/0.01474, allocations: 0.8458 MB / 311.2 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01475, allocations: 0 / 311.2 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.01497, allocations: 123.7 kB / 311.4 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.01499, allocations: 27.81 kB / 311.4 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.01512, allocations: 82.59 kB / 311.5 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.01514, allocations: 12 kB / 311.5 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.01668, allocations: 3.67 MB / 315.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.01668, allocations: 3.984 kB / 315.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006899/0.01737, allocations: 0.6237 MB / 315.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.0174, allocations: 16.06 kB / 315.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.01751, allocations: 19.98 kB / 315.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.01757, allocations: 47.86 kB / 315.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.01758, allocations: 15.98 kB / 315.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.77e-05/0.01762, allocations: 57.98 kB / 315.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.01762, allocations: 0 / 315.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004032/0.01803, allocations: 120 kB / 316.1 MB, free: 13.91 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 0.0001011/0.01813, allocations: 100.3 kB / 316.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.01864, allocations: 0.6301 MB / 316.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/0.01865, allocations: 4 kB / 316.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.01894, allocations: 0.5082 MB / 317.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.01928, allocations: 94.95 kB / 317.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/0.02445, allocations: 0.8275 MB / 318.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.617e-05/0.02454, allocations: 126.4 kB / 318.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.995e-05/0.02463, allocations: 35.55 kB / 318.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.02475, allocations: 107.3 kB / 318.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02475, allocations: 0 / 318.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of Templates: time 0.007127/0.03188, allocations: 4.822 MB / 323.3 MB, free: 6.582 MB / 314.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 -ignoreHideResult -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.0104473000392318]