Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.001171/0.001171, 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.005726/0.005726, 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.8974/0.8974, allocations: 177 MB / 204.9 MB, free: 5.719 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.2314/0.2314, allocations: 34.25 MB / 295.6 MB, free: 0.6797 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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.203e-05, allocations: 2.281 kB / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0009064/0.0009285, allocations: 497 kB / 443.9 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1462/0.1471, allocations: 0.7233 MB / 444.6 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.1472, allocations: 0 / 444.6 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.1472, allocations: 0 / 444.6 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.1472, allocations: 0.5625 kB / 444.6 MB, free: 43.7 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1484, allocations: 0.6494 MB / 445.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.291e-05/0.1485, allocations: 2.891 kB / 445.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.1485, allocations: 6.766 kB / 445.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.1485, allocations: 0 / 445.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.639e-05/0.1485, allocations: 1.062 kB / 445.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-06/0.1485, allocations: 0 / 445.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.1489, allocations: 414.8 kB / 445.7 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-06/0.149, allocations: 0 / 445.7 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.149, allocations: 2.156 kB / 445.7 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.1493, allocations: 374.4 kB / 446 MB, free: 43.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1493, allocations: 0 / 446 MB, free: 43.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1493, allocations: 0 / 446 MB, free: 43.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1493, allocations: 0 / 446 MB, free: 43.59 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000227/0.1495, allocations: 314.5 kB / 446.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1495, allocations: 15.22 kB / 446.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.1496, allocations: 0.9375 kB / 446.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.646e-05/0.1496, allocations: 101.8 kB / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1496, allocations: 7.219 kB / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.1496, allocations: 384 / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.336e-05/0.1497, allocations: 65.34 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1497, allocations: 192 / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.1497, allocations: 384 / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1497, allocations: 1.922 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.637e-05/0.1497, allocations: 34.39 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.261e-05/0.1498, allocations: 95.89 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.104e-05/0.1498, allocations: 43.69 kB / 446.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.078e-05/0.1498, allocations: 37.73 kB / 446.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.1498, allocations: 5.469 kB / 446.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1499, allocations: 58.92 kB / 446.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.1499, allocations: 0 / 446.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001271/0.15, allocations: 116.1 kB / 446.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.15, allocations: 79.89 kB / 447 MB, free: 42.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.329e-05/0.15, allocations: 91.17 kB / 447.1 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-06/0.15, allocations: 25.7 kB / 447.1 MB, free: 42.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-06/0.15, allocations: 86.89 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.15, allocations: 3.266 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.1501, allocations: 12.41 kB / 447.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.472e-05/0.1501, allocations: 318.2 kB / 447.5 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.1501, allocations: 32.42 kB / 447.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.1501, allocations: 25.7 kB / 447.6 MB, free: 41.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.322e-05/0.1501, allocations: 68.11 kB / 447.6 MB, free: 41.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1501, allocations: 0 / 447.6 MB, free: 41.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.909e-05/0.1502, allocations: 92.59 kB / 447.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1502, allocations: 31.55 kB / 447.8 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1502, allocations: 0 / 447.8 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1502, allocations: 0 / 447.8 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1502, allocations: 1.688 kB / 447.8 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1502, allocations: 2.578 kB / 447.8 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.1502, allocations: 7.875 kB / 447.8 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1502, allocations: 3 kB / 447.8 MB, free: 41.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 3.369e-05/0.1502, allocations: 146.8 kB / 447.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-06/0.1503, allocations: 0 / 447.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.235e-06/0.1503, allocations: 5.938 kB / 447.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1503, allocations: 4 kB / 447.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1503, allocations: 0 / 447.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1503, allocations: 0 / 447.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.563e-05/0.1503, allocations: 107.1 kB / 448 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.1503, allocations: 0 / 448 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-07/0.1503, allocations: 0 / 448 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1503, allocations: 2.938 kB / 448 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1503, allocations: 0 / 448 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.1503, allocations: 0 / 448 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.51e-07/0.1503, allocations: 0 / 448 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.039e-05/0.1503, allocations: 124.9 kB / 448.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-06/0.1503, allocations: 6.75 kB / 448.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.1504, allocations: 0 / 448.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.729e-06/0.1504, allocations: 3.188 kB / 448.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.1504, allocations: 5.812 kB / 448.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.1504, allocations: 0 / 448.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.643e-06/0.1504, allocations: 79.22 kB / 448.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1504, allocations: 0 / 448.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.1506, allocations: 80.72 kB / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000342/0.1509, allocations: 240.5 kB / 448.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.703e-05/0.151, allocations: 115.7 kB / 448.7 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.151, allocations: 0 / 448.7 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.151, allocations: 83.3 kB / 448.8 MB, free: 40.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.363e-05/0.1511, allocations: 4.188 kB / 448.8 MB, free: 40.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001285/0.1512, allocations: 127.7 kB / 448.9 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.968e-05/0.1512, allocations: 54.23 kB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-06/0.1512, allocations: 8.5 kB / 449 MB, free: 40.62 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1512, allocations: 3 kB / 449 MB, free: 40.62 MB / 410.7 MB Notification: Performance of Templates: time 0.002273/0.1535, allocations: 1.803 MB / 450.8 MB, free: 40.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.568274354562163]