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.001926/0.001926, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.002024/0.002024, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.669/1.669, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 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.3847/0.3847, allocations: 34.25 MB / 295.2 MB, free: 0.625 MB / 266.7 MB " [Timeout remaining time 179] 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.393e-06/1.393e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.934e-05, allocations: 3.859 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001559/0.001588, allocations: 497.1 kB / 377.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.003162, allocations: 0.7525 MB / 378.4 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.563e-05/0.003177, allocations: 0 / 378.4 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.003188, allocations: 0 / 378.4 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.02e-06/0.003193, allocations: 0 / 378.4 MB, free: 1.684 MB / 346.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.002003/0.005196, allocations: 0.6496 MB / 379.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.00524, allocations: 4 kB / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.93e-05/0.005269, allocations: 0 / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.005297, allocations: 0 / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.672e-05/0.005314, allocations: 4 kB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-06/0.00532, allocations: 0 / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008283/0.006148, allocations: 407.1 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-06/0.006158, allocations: 3.984 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.006178, allocations: 4 kB / 379.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.006785, allocations: 382.9 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.006788, allocations: 0 / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006789, allocations: 0 / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.006793, allocations: 0 / 379.9 MB, free: 248 kB / 346.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.000489/0.007282, allocations: 409.6 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.007323, allocations: 8.031 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.007368, allocations: 12.94 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.936e-05/0.007467, allocations: 104.6 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.007478, allocations: 384 / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.007488, allocations: 4.359 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.007604, allocations: 63.89 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.007613, allocations: 192 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.00762, allocations: 384 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.007624, allocations: 384 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.074e-05/0.007664, allocations: 33.64 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.007801, allocations: 108.6 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.594e-05/0.007887, allocations: 56.8 kB / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.007927, allocations: 37.38 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.007937, allocations: 64 / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.186e-05/0.007999, allocations: 63.09 kB / 380.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.007999, allocations: 3.938 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002439/0.008243, allocations: 118.8 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.008311, allocations: 81.05 kB / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.008408, allocations: 146.2 kB / 381.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.008429, allocations: 25.7 kB / 381.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.008508, allocations: 127 kB / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.008527, allocations: 4 kB / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.008564, allocations: 19.38 kB / 381.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002731/0.008837, allocations: 0.4883 MB / 381.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.008866, allocations: 25.7 kB / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.008894, allocations: 33.69 kB / 381.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.009235, allocations: 63.03 kB / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.009237, allocations: 4 kB / 381.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001028/0.00934, allocations: 85.11 kB / 382 MB, free: 13.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.009384, allocations: 37.69 kB / 382 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.009389, allocations: 4.094 kB / 382 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.009403, allocations: 0 / 382 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.009403, allocations: 0 / 382 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.009407, allocations: 0 / 382 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.009434, allocations: 3.938 kB / 382 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.00944, allocations: 4 kB / 382 MB, free: 13.79 MB / 362.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 0.000126/0.009566, allocations: 178.3 kB / 382.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.00958, allocations: 7.953 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.274e-06/0.009587, allocations: 3 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.009588, allocations: 0 / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.009591, allocations: 4 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.009593, allocations: 0 / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.0097, allocations: 124.5 kB / 382.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.009701, allocations: 0 / 382.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.009701, allocations: 0 / 382.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.009703, allocations: 0 / 382.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.009709, allocations: 0 / 382.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.00971, allocations: 0 / 382.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00971, allocations: 0 / 382.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.009859, allocations: 139.8 kB / 382.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-06/0.009863, allocations: 0 / 382.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.009873, allocations: 4.031 kB / 382.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-06/0.009881, allocations: 0 / 382.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.009897, allocations: 7.938 kB / 382.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.0099, allocations: 0 / 382.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.009961, allocations: 119.2 kB / 382.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009961, allocations: 0 / 382.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003694/0.01033, allocations: 91.66 kB / 382.7 MB, free: 13.04 MB / 362.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.0006121/0.01094, allocations: 244.7 kB / 382.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.01111, allocations: 126.5 kB / 383 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01111, allocations: 0 / 383 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/0.01118, allocations: 92.78 kB / 383.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.01131, allocations: 7.25 kB / 383.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.01155, allocations: 113.7 kB / 383.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.958e-05/0.01161, allocations: 55.34 kB / 383.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.192e-06/0.01161, allocations: 0 / 383.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.01163, allocations: 12.5 kB / 383.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01163, allocations: 0 / 383.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Templates: time 0.006004/0.01764, allocations: 1.976 MB / 385.3 MB, free: 10.32 MB / 362.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] 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.007866460015066]