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.0009224/0.0009224, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.006738/0.006738, allocations: 160 kB / 24.7 MB, free: 9.441 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.9247/0.9247, allocations: 177 MB / 204.9 MB, free: 5.711 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.2388/0.2388, allocations: 34.24 MB / 295.6 MB, free: 0.6641 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.583e-06/1.583e-06, allocations: 0 / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.788e-05, allocations: 2.281 kB / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.1825/0.1825, allocations: 2.672 MB / 446.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1836, allocations: 0.7631 MB / 446.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.1838, allocations: 12 kB / 446.9 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.1839, allocations: 71.81 kB / 446.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1841, allocations: 131.7 kB / 447.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.1844, allocations: 116.2 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.1847, allocations: 472.6 kB / 447.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.1849, allocations: 124.8 kB / 447.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.1852, allocations: 269.5 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1854, allocations: 138.2 kB / 448.1 MB, free: 42.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.1854, allocations: 35.59 kB / 448.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.652e-05/0.1855, allocations: 37.59 kB / 448.2 MB, free: 42.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.1855, allocations: 87.86 kB / 448.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.1856, allocations: 139.7 kB / 448.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.186, allocations: 462.8 kB / 448.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.186, allocations: 0 / 448.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.186, allocations: 0 / 448.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.186, allocations: 0 / 448.9 MB, free: 41.84 MB / 410.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.0006784/0.1867, allocations: 0.6114 MB / 449.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1867, allocations: 8.438 kB / 449.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.1869, allocations: 78.25 kB / 449.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.1872, allocations: 229 kB / 449.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1872, allocations: 28.69 kB / 449.8 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.1873, allocations: 44.56 kB / 449.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.1877, allocations: 378.7 kB / 450.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1877, allocations: 10.83 kB / 450.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.1878, allocations: 14.94 kB / 450.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1878, allocations: 12.47 kB / 450.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.188, allocations: 242.8 kB / 450.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008277/0.1889, allocations: 0.9109 MB / 451.4 MB, free: 40.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.1892, allocations: 331.4 kB / 451.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.1893, allocations: 159.9 kB / 451.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1894, allocations: 2.906 kB / 451.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.1894, allocations: 37.44 kB / 452 MB, free: 39.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.974e-06/0.1894, allocations: 3.938 kB / 452 MB, free: 39.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.001951/0.1913, allocations: 2.011 MB / 454 MB, free: 38.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1914, allocations: 108.5 kB / 454.1 MB, free: 38.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1915, allocations: 195.3 kB / 454.3 MB, free: 38.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1915, allocations: 33.7 kB / 454.3 MB, free: 38.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.1916, allocations: 194.4 kB / 454.5 MB, free: 38.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/0.1916, allocations: 209.8 kB / 454.7 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.1917, allocations: 84.33 kB / 454.8 MB, free: 38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.1918, allocations: 345.6 kB / 455.1 MB, free: 37.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1919, allocations: 127.5 kB / 455.2 MB, free: 37.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.1921, allocations: 239.5 kB / 455.5 MB, free: 37.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.1924, allocations: 392.1 kB / 455.9 MB, free: 37.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1924, allocations: 10.75 kB / 455.9 MB, free: 37.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005392/0.193, allocations: 0.5452 MB / 456.4 MB, free: 37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.193, allocations: 9.438 kB / 456.4 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.193, allocations: 2.562 kB / 456.4 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.1932, allocations: 128.7 kB / 456.6 MB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1934, allocations: 95.81 kB / 456.6 MB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.1953, allocations: 4.813 MB / 461.5 MB, free: 32.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1954, allocations: 19.86 kB / 461.5 MB, free: 32.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1955, allocations: 18.06 kB / 461.5 MB, free: 32.44 MB / 410.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.0001425/0.1956, allocations: 169.9 kB / 461.7 MB, free: 32.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.1956, allocations: 43.14 kB / 461.7 MB, free: 32.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.1957, allocations: 40.75 kB / 461.7 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1957, allocations: 6.312 kB / 461.8 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.1957, allocations: 4.5 kB / 461.8 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.1957, allocations: 6.547 kB / 461.8 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.1967, allocations: 1.179 MB / 462.9 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1967, allocations: 3.938 kB / 462.9 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.197, allocations: 100.1 kB / 463 MB, free: 31.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.1971, allocations: 93.39 kB / 463.1 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.1971, allocations: 15 kB / 463.1 MB, free: 31.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.1984, allocations: 4.035 MB / 467.2 MB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1984, allocations: 0 / 467.2 MB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006683/0.1991, allocations: 0.9135 MB / 468.1 MB, free: 27.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.1991, allocations: 33.33 kB / 468.1 MB, free: 26.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.1991, allocations: 10.56 kB / 468.1 MB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1993, allocations: 20.09 kB / 468.2 MB, free: 26.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.1993, allocations: 50.42 kB / 468.2 MB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1994, allocations: 20.55 kB / 468.2 MB, free: 26.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.974e-05/0.1994, allocations: 144.4 kB / 468.4 MB, free: 26.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1994, allocations: 0 / 468.4 MB, free: 26.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004765/0.1999, allocations: 123.4 kB / 468.5 MB, free: 26.84 MB / 410.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.000106/0.2, allocations: 108.3 kB / 468.6 MB, free: 26.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006963/0.2007, allocations: 0.756 MB / 469.4 MB, free: 26.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2007, allocations: 0 / 469.4 MB, free: 26.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.201, allocations: 0.5656 MB / 469.9 MB, free: 25.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.2014, allocations: 64.77 kB / 470 MB, free: 25.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2025, allocations: 0.988 MB / 471 MB, free: 25.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.2027, allocations: 221.1 kB / 471.2 MB, free: 25.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.2027, allocations: 34.11 kB / 471.2 MB, free: 25.06 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2027, allocations: 4 kB / 471.2 MB, free: 25.05 MB / 410.7 MB Notification: Performance of Templates: time 0.006403/0.2091, allocations: 9.543 MB / 480.8 MB, free: 24.17 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.616221626289189]