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.001841/0.001841, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002443/0.002443, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.559/1.559, allocations: 177 MB / 204.1 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.2482/0.2482, allocations: 34.26 MB / 294.8 MB, free: 14.57 MB / 286.1 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 2.725e-06/2.725e-06, allocations: 0 / 442.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.606e-05/3.878e-05, allocations: 2.281 kB / 442.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001443/0.001482, allocations: 0.4933 MB / 443.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.003398, allocations: 0.7252 MB / 443.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.003423, allocations: 0 / 443.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.00344, allocations: 0 / 443.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.165e-06/0.003448, allocations: 0 / 443.9 MB, free: 4.133 MB / 366.1 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.002325/0.005773, allocations: 0.6496 MB / 444.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.945e-05/0.005822, allocations: 3.984 kB / 444.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.005858, allocations: 4 kB / 444.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.00589, allocations: 0 / 444.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.00591, allocations: 0 / 444.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-06/0.005918, allocations: 0 / 444.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008451/0.006763, allocations: 411.1 kB / 444.9 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.006772, allocations: 0 / 444.9 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.006789, allocations: 4 kB / 444.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005723/0.007361, allocations: 387 kB / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.007364, allocations: 0 / 445.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007365, allocations: 4 kB / 445.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.007369, allocations: 0 / 445.3 MB, free: 2.684 MB / 366.1 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.0004325/0.007801, allocations: 311.5 kB / 445.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.00784, allocations: 8.031 kB / 445.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.007885, allocations: 4.938 kB / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.007994, allocations: 109.7 kB / 445.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.008009, allocations: 384 / 445.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.008018, allocations: 384 / 445.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.008143, allocations: 63.95 kB / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.008152, allocations: 192 / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.008161, allocations: 384 / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.008165, allocations: 384 / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.507e-05/0.0082, allocations: 29.64 kB / 445.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.008328, allocations: 97.33 kB / 445.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.008408, allocations: 56.23 kB / 446 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.00844, allocations: 30.56 kB / 446 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.00845, allocations: 0 / 446 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/0.008507, allocations: 56.33 kB / 446.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.008508, allocations: 8 kB / 446.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002264/0.008734, allocations: 118.8 kB / 446.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.008808, allocations: 77.11 kB / 446.2 MB, free: 1.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.008869, allocations: 89.86 kB / 446.3 MB, free: 1.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.008889, allocations: 25.7 kB / 446.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.008927, allocations: 80.14 kB / 446.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.008948, allocations: 3.953 kB / 446.4 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.008979, allocations: 17.66 kB / 446.5 MB, free: 1.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.009123, allocations: 314.8 kB / 446.8 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.009155, allocations: 29.7 kB / 446.8 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.009177, allocations: 37.81 kB / 446.8 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.962e-05/0.009236, allocations: 60.27 kB / 446.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009239, allocations: 0 / 446.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.584e-05/0.009334, allocations: 93.05 kB / 447 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.009371, allocations: 36.03 kB / 447 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.009375, allocations: 0 / 447 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.009389, allocations: 0 / 447 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.009392, allocations: 4 kB / 447 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.009396, allocations: 0 / 447 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.009415, allocations: 15.97 kB / 447 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.009422, allocations: 0 / 447 MB, free: 0.6641 MB / 366.1 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 9.475e-05/0.009517, allocations: 131.5 kB / 447.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.009527, allocations: 7.938 kB / 447.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.088e-05/0.009538, allocations: 3 kB / 447.2 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.009539, allocations: 0 / 447.2 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.009543, allocations: 0 / 447.2 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.009546, allocations: 0 / 447.2 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.32e-05/0.009639, allocations: 105.2 kB / 447.3 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.009639, allocations: 0 / 447.3 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.00964, allocations: 0 / 447.3 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.009641, allocations: 4 kB / 447.3 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.009648, allocations: 0 / 447.3 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.009649, allocations: 0 / 447.3 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00965, allocations: 0 / 447.3 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.00981, allocations: 120.5 kB / 447.4 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-06/0.009819, allocations: 8 kB / 447.4 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.009831, allocations: 0 / 447.4 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.009839, allocations: 0 / 447.4 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.009857, allocations: 3.938 kB / 447.4 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.009862, allocations: 4 kB / 447.4 MB, free: 212 kB / 366.1 MB Notification: Performance of sorting global known variables: time 4.326e-05/0.009906, allocations: 83.31 kB / 447.5 MB, free: 128 kB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.009906, allocations: 0 / 447.5 MB, free: 128 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000366/0.01027, allocations: 83.72 kB / 447.6 MB, free: 44 kB / 366.1 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.1977/0.208, allocations: 230 kB / 447.8 MB, free: 19.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.2081, allocations: 118.2 kB / 447.9 MB, free: 19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2081, allocations: 0 / 447.9 MB, free: 19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.2081, allocations: 83.78 kB / 448 MB, free: 18.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.2083, allocations: 5.688 kB / 448 MB, free: 18.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.2085, allocations: 106.7 kB / 448.1 MB, free: 18.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.699e-05/0.2085, allocations: 54.09 kB / 448.2 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.843e-06/0.2085, allocations: 1.5 kB / 448.2 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.167e-05/0.2085, allocations: 10.84 kB / 448.2 MB, free: 18.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2085, allocations: 1.031 kB / 448.2 MB, free: 18.71 MB / 366.1 MB Notification: Performance of Templates: time 0.006103/0.2146, allocations: 1.964 MB / 450.1 MB, free: 18.6 MB / 366.1 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.074656944721937]