Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001087/0.001087, allocations: 87.67 kB / 21.2 MB, free: 3.367 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.001297/0.001297, allocations: 156.5 kB / 24.55 MB, free: 12 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.03/1.03, allocations: 177 MB / 204.8 MB, free: 5.578 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.2519/0.2519, allocations: 34.86 MB / 296.3 MB, free: 476 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.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.825e-05, allocations: 2.875 kB / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.005396/0.005414, allocations: 1.683 MB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008201/0.006234, allocations: 0.5486 MB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.006289, allocations: 4 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.006562, allocations: 99.55 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.00684, allocations: 111.6 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.007101, allocations: 119.6 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00318/0.01028, allocations: 103.7 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.01039, allocations: 27.97 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.01047, allocations: 47.89 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.705e-05/0.01056, allocations: 63.86 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.01058, allocations: 8 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.01067, allocations: 47.91 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.479e-05/0.01073, allocations: 31.86 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.01076, allocations: 19.92 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.01095, allocations: 115.5 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01095, allocations: 0 / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01095, allocations: 0 / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.01095, allocations: 0 / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004429/0.0114, allocations: 467.8 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.01143, allocations: 12.03 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.01148, allocations: 20.84 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.01164, allocations: 160.3 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.01165, allocations: 4.375 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.01167, allocations: 8.375 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.0118, allocations: 73.81 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.01181, allocations: 192 / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.01182, allocations: 4.375 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.01183, allocations: 384 / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.01188, allocations: 31.91 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.01225, allocations: 339.6 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.524e-05/0.01233, allocations: 55.03 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.01236, allocations: 23.61 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.01238, allocations: 7.938 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.0124, allocations: 33.39 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.0124, allocations: 0 / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006324/0.01304, allocations: 233.1 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.01307, allocations: 55.41 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.01624, allocations: 250.7 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.01625, allocations: 25.7 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.01632, allocations: 170.7 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.01635, allocations: 47.8 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.0164, allocations: 35.3 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.01653, allocations: 0.504 MB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/0.01657, allocations: 19.98 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.0166, allocations: 16.12 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.457e-05/0.01668, allocations: 63.05 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01668, allocations: 0 / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001401/0.01682, allocations: 101.6 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01684, allocations: 7.984 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.01684, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.01685, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/0.01695, allocations: 27.92 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01696, allocations: 4 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.01698, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.01699, allocations: 4 kB / 384.6 MB, free: 12.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.994e-05/0.01707, allocations: 164.5 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.01711, allocations: 19.91 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.0173, allocations: 139.7 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01731, allocations: 4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01731, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01731, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.01784, allocations: 436.8 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01784, allocations: 0 / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.0179, allocations: 23.98 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01791, allocations: 7.938 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.01791, allocations: 0 / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.01792, allocations: 3.969 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01792, allocations: 11.98 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.0181, allocations: 263.5 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.01811, allocations: 11.91 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.01813, allocations: 8 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.01818, allocations: 3.938 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.01822, allocations: 7.984 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01823, allocations: 8 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.272e-05/0.01832, allocations: 185 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01832, allocations: 0 / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000247/0.01857, allocations: 24 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.001008/0.01957, allocations: 432.5 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.01969, allocations: 67.59 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01969, allocations: 3.938 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.01973, allocations: 39.66 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.01993, allocations: 27.92 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.02029, allocations: 280.7 kB / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.237e-05/0.02034, allocations: 79.39 kB / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.49e-05/0.02038, allocations: 24.45 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.02041, allocations: 16.5 kB / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02041, allocations: 0 / 386.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of Templates: time 0.003142/0.02356, allocations: 1.745 MB / 388.6 MB, free: 8.031 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.1723235491663218]