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.0009768/0.0009768, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001892/0.001892, allocations: 164.4 kB / 24.91 MB, free: 8.719 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 1.043/1.043, allocations: 177 MB / 205.2 MB, free: 5.055 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.2739/0.2739, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.543e-06/1.543e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.698e-05, allocations: 2.312 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.00201/0.002037, allocations: 0.5474 MB / 326.5 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.003517, allocations: 0.754 MB / 327.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.003535, allocations: 0 / 327.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.00355, allocations: 0 / 327.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.084e-06/0.003557, allocations: 0 / 327.2 MB, free: 5.855 MB / 298.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.001752/0.005309, allocations: 0.6378 MB / 327.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.005366, allocations: 0 / 327.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.005407, allocations: 4.75 kB / 327.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.005438, allocations: 0 / 327.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.981e-05/0.005458, allocations: 3.938 kB / 327.9 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.724e-06/0.005466, allocations: 4 kB / 327.9 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007731/0.006239, allocations: 431.1 kB / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-06/0.006247, allocations: 0 / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.372e-05/0.00626, allocations: 0 / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005083/0.006769, allocations: 375 kB / 328.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006771, allocations: 0 / 328.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006772, allocations: 4 kB / 328.7 MB, free: 4.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.006776, allocations: 0 / 328.7 MB, free: 4.41 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003176/0.007094, allocations: 293.8 kB / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.007133, allocations: 8.031 kB / 329 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.00716, allocations: 4.938 kB / 329 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.134e-05/0.007232, allocations: 109.8 kB / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.007242, allocations: 384 / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-06/0.007247, allocations: 384 / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.801e-05/0.007325, allocations: 55.97 kB / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.007334, allocations: 4.172 kB / 329.1 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.007341, allocations: 4.375 kB / 329.1 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.007347, allocations: 384 / 329.1 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.007372, allocations: 33.64 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.639e-05/0.007448, allocations: 53.05 kB / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.293e-05/0.007501, allocations: 52.25 kB / 329.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.007521, allocations: 34.56 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-06/0.007525, allocations: 4.062 kB / 329.3 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.007567, allocations: 60.25 kB / 329.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.007568, allocations: 0 / 329.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001315/0.0077, allocations: 118.7 kB / 329.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.007738, allocations: 77.11 kB / 329.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.24e-05/0.00778, allocations: 93.84 kB / 329.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.007792, allocations: 25.7 kB / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.007816, allocations: 80.14 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.007834, allocations: 1.5 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.007862, allocations: 21.7 kB / 329.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.00796, allocations: 318.8 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.007981, allocations: 33.64 kB / 330.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.007997, allocations: 25.7 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.933e-05/0.008046, allocations: 60.27 kB / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008048, allocations: 0 / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.246e-05/0.00812, allocations: 89.03 kB / 330.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.008151, allocations: 33.7 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.008156, allocations: 0 / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.008168, allocations: 4.094 kB / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.008169, allocations: 0 / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.008172, allocations: 0 / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.008184, allocations: 0 / 330.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.008191, allocations: 4 kB / 330.3 MB, free: 2.484 MB / 298.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 7.349e-05/0.008265, allocations: 139.5 kB / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.008273, allocations: 4 kB / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.126e-06/0.008281, allocations: 3 kB / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008283, allocations: 0 / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.008284, allocations: 0 / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.008287, allocations: 4 kB / 330.5 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.808e-05/0.008345, allocations: 69.78 kB / 330.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.008346, allocations: 0 / 330.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-06/0.008347, allocations: 0 / 330.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008349, allocations: 0 / 330.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.008356, allocations: 3.984 kB / 330.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.008357, allocations: 0 / 330.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008358, allocations: 0 / 330.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.51e-05/0.008453, allocations: 124.4 kB / 330.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.008462, allocations: 8.328 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.008473, allocations: 32 / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-06/0.008482, allocations: 8 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-06/0.008492, allocations: 4 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.008496, allocations: 0 / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.813e-06/0.008502, allocations: 4.859 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008502, allocations: 0 / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.008802, allocations: 83.73 kB / 330.8 MB, free: 1.973 MB / 298.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.000491/0.009293, allocations: 223.1 kB / 331 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.009398, allocations: 123.7 kB / 331.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.0094, allocations: 0 / 331.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.009443, allocations: 93.89 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.803e-05/0.009501, allocations: 3.938 kB / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001843/0.009685, allocations: 104.9 kB / 331.3 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.407e-05/0.009719, allocations: 55.36 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.611e-06/0.009725, allocations: 0 / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.009763, allocations: 59.34 kB / 331.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009763, allocations: 0 / 331.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of Templates: time 0.004918/0.01468, allocations: 2.325 MB / 333.8 MB, free: 14.9 MB / 314.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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.857561648823321]