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.001816/0.001816, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002121/0.002121, allocations: 156.9 kB / 24.27 MB, free: 172 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.537/1.537, allocations: 177 MB / 204.4 MB, free: 5.617 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.3534/0.3534, allocations: 34.26 MB / 295.2 MB, free: 0.6523 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.543e-06/1.543e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.767e-05/3.921e-05, allocations: 7.797 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001569/0.001608, allocations: 0.4893 MB / 377.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.003225, allocations: 0.737 MB / 378.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.669e-05/0.003242, allocations: 0 / 378.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.023e-05/0.003252, allocations: 0 / 378.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.512e-06/0.003259, allocations: 0 / 378.4 MB, free: 1.695 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.002119/0.005378, allocations: 0.6457 MB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.497e-05/0.005433, allocations: 3.984 kB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.005478, allocations: 7.984 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.005509, allocations: 0 / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.339e-05/0.005533, allocations: 0 / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.005542, allocations: 0 / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000876/0.006418, allocations: 415.1 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.006427, allocations: 0 / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.006455, allocations: 3.984 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.007052, allocations: 371 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007056, allocations: 0 / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.007057, allocations: 0 / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.007062, allocations: 0 / 379.8 MB, free: 268 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.0004896/0.007551, allocations: 319.6 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.007591, allocations: 8.031 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.007637, allocations: 0.9375 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.007743, allocations: 109.8 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.007758, allocations: 384 / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-06/0.007766, allocations: 384 / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.007886, allocations: 63.95 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.007907, allocations: 4.125 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.007916, allocations: 384 / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.007924, allocations: 4.359 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.213e-05/0.007966, allocations: 29.64 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.008093, allocations: 97.33 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.234e-05/0.008165, allocations: 44.31 kB / 380.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.008205, allocations: 34.56 kB / 380.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.008214, allocations: 0 / 380.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.933e-05/0.008283, allocations: 68.31 kB / 380.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.008284, allocations: 3.938 kB / 380.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002516/0.008536, allocations: 114.8 kB / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.008604, allocations: 77.11 kB / 380.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.008676, allocations: 93.84 kB / 380.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.008697, allocations: 25.7 kB / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.009036, allocations: 84.14 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.009054, allocations: 0 / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.009089, allocations: 13.84 kB / 381 MB, free: 14.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.009281, allocations: 318.8 kB / 381.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/0.009316, allocations: 33.7 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/0.00934, allocations: 25.7 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.173e-05/0.009421, allocations: 68.2 kB / 381.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.009426, allocations: 3.984 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001015/0.009527, allocations: 85.11 kB / 381.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.009568, allocations: 29.7 kB / 381.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009573, allocations: 0 / 381.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.009595, allocations: 96 / 381.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.009597, allocations: 4 kB / 381.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.009602, allocations: 4 kB / 381.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.009626, allocations: 7.922 kB / 381.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.009633, allocations: 0 / 381.6 MB, free: 14.24 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.0001317/0.009765, allocations: 139.5 kB / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.009776, allocations: 3.953 kB / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-06/0.009784, allocations: 3 kB / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.009786, allocations: 0 / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.00979, allocations: 0 / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.009796, allocations: 4 kB / 381.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.009909, allocations: 105.2 kB / 381.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.009909, allocations: 3.938 kB / 381.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.00991, allocations: 0 / 381.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.009911, allocations: 0 / 381.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.009918, allocations: 0 / 381.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009919, allocations: 4 kB / 381.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.00992, allocations: 0 / 381.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.01007, allocations: 120.5 kB / 382 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-06/0.01007, allocations: 0 / 382 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.01008, allocations: 3.938 kB / 382 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.0101, allocations: 8.031 kB / 382 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.01011, allocations: 0 / 382 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.01011, allocations: 0 / 382 MB, free: 13.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.529e-05/0.01016, allocations: 75.28 kB / 382 MB, free: 13.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01016, allocations: 0 / 382 MB, free: 13.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000385/0.01054, allocations: 87.67 kB / 382.1 MB, free: 13.62 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.0006637/0.01121, allocations: 239.1 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.01136, allocations: 114.8 kB / 382.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01136, allocations: 4.062 kB / 382.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.01143, allocations: 85.09 kB / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.01156, allocations: 4 kB / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.01183, allocations: 104 kB / 382.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.622e-05/0.01189, allocations: 55.36 kB / 382.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.661e-06/0.0119, allocations: 0 / 382.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.01192, allocations: 12.48 kB / 382.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01192, allocations: 0 / 382.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of Templates: time 0.005932/0.01785, allocations: 1.983 MB / 384.7 MB, free: 10.93 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=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: 4.836205301107839]