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.001432/0.001432, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001956/0.001956, allocations: 154.4 kB / 25.61 MB, free: 8.578 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.9652/0.9652, allocations: 177 MB / 205.9 MB, free: 4.457 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.1688/0.1688, allocations: 34.88 MB / 297.4 MB, free: 13.44 MB / 282.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 2.254e-06/2.254e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.741e-05, allocations: 3.125 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.002052/0.002089, allocations: 0.4893 MB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.003281, allocations: 0.7465 MB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.003312, allocations: 0 / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.003333, allocations: 0 / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.688e-06/0.003343, allocations: 0 / 381.2 MB, free: 21.54 MB / 314.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.001858/0.005201, allocations: 0.6496 MB / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.749e-05/0.005259, allocations: 4 kB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.005304, allocations: 0 / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.207e-05/0.005336, allocations: 7.984 kB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.115e-05/0.005357, allocations: 0 / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.005365, allocations: 0 / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.005928, allocations: 415 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.005938, allocations: 0 / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.005957, allocations: 4 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00046/0.006417, allocations: 375 kB / 382.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.006425, allocations: 3.984 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.006427, allocations: 0 / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.006435, allocations: 0 / 382.7 MB, free: 20.09 MB / 314.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.0003662/0.006801, allocations: 413.6 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.006854, allocations: 12.03 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.006898, allocations: 0.9375 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.602e-05/0.006964, allocations: 104.6 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.00699, allocations: 4.375 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.006997, allocations: 384 / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.885e-05/0.007086, allocations: 63.89 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.007097, allocations: 192 / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.007105, allocations: 384 / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.007113, allocations: 4.312 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.59e-05/0.007129, allocations: 29.64 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.755e-05/0.007216, allocations: 97.27 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.007265, allocations: 52.77 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.007283, allocations: 41.47 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-06/0.007287, allocations: 0 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.007322, allocations: 63.03 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.007323, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001835/0.007507, allocations: 114.8 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.00754, allocations: 85.09 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.842e-05/0.007569, allocations: 142.2 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-06/0.007575, allocations: 29.83 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.431e-05/0.007589, allocations: 130.9 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.007606, allocations: 0 / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.007628, allocations: 19.38 kB / 384 MB, free: 18.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.007685, allocations: 496.1 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.007696, allocations: 25.7 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-06/0.007705, allocations: 29.7 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.662e-05/0.007742, allocations: 67.02 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007743, allocations: 4 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.479e-05/0.007788, allocations: 81.11 kB / 384.7 MB, free: 17.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.007814, allocations: 37.8 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.007819, allocations: 0 / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.007829, allocations: 0 / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.00783, allocations: 0 / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.007834, allocations: 3.984 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.007849, allocations: 4 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.007857, allocations: 4 kB / 384.8 MB, free: 17.68 MB / 314.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 5.364e-05/0.00791, allocations: 182.2 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-06/0.007916, allocations: 4.344 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-06/0.007924, allocations: 3 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.007925, allocations: 7.938 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.007927, allocations: 0 / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.00793, allocations: 0 / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.448e-05/0.007975, allocations: 101.2 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.007976, allocations: 0 / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.007976, allocations: 7.938 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.007977, allocations: 0 / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-06/0.007981, allocations: 0 / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.007982, allocations: 0 / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007983, allocations: 0 / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.483e-05/0.008048, allocations: 143.7 kB / 385.2 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-06/0.008052, allocations: 4 kB / 385.2 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.008063, allocations: 0 / 385.2 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-06/0.008067, allocations: 0 / 385.2 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.008078, allocations: 3.984 kB / 385.2 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.008081, allocations: 4 kB / 385.2 MB, free: 17.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.565e-05/0.008096, allocations: 119.2 kB / 385.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008096, allocations: 0 / 385.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.008394, allocations: 87.67 kB / 385.4 MB, free: 16.95 MB / 314.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.0004187/0.008813, allocations: 240.6 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.126e-05/0.008894, allocations: 118.5 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008895, allocations: 0 / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.816e-05/0.008913, allocations: 92.78 kB / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.945e-05/0.009003, allocations: 6.188 kB / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001468/0.00915, allocations: 103.6 kB / 386 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.853e-05/0.009168, allocations: 59.22 kB / 386 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.982e-06/0.009174, allocations: 4 kB / 386 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.009203, allocations: 82.3 kB / 386.1 MB, free: 16.15 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.009204, allocations: 0 / 386.1 MB, free: 16.15 MB / 314.7 MB Notification: Performance of Templates: time 0.003954/0.01316, allocations: 2.348 MB / 388.5 MB, free: 13.8 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 -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: 3.409089797642082]