Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 84.34 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3794/0.3794, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 375.3 MB, free: 4.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.881e-05, allocations: 6.25 kB / 375.3 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003205/0.003233, allocations: 1.634 MB / 376.9 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.004463, allocations: 0.5337 MB / 377.5 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.004527, allocations: 4 kB / 377.5 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.004858, allocations: 43.62 kB / 377.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.005183, allocations: 83.62 kB / 377.6 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.005482, allocations: 95.62 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.005688, allocations: 83.81 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.005795, allocations: 23.92 kB / 377.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.005887, allocations: 43.89 kB / 377.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.005979, allocations: 31.89 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.005999, allocations: 4 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.006102, allocations: 51.86 kB / 377.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.006158, allocations: 15.92 kB / 377.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.006201, allocations: 19.92 kB / 377.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.006424, allocations: 115.6 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.006426, allocations: 0 / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006427, allocations: 0 / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.006431, allocations: 0 / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005406/0.006972, allocations: 333.6 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.007007, allocations: 8.031 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.007067, allocations: 12.89 kB / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.007271, allocations: 145.6 kB / 378.5 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.007285, allocations: 4.375 kB / 378.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.007316, allocations: 8.375 kB / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.007499, allocations: 74.16 kB / 378.6 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.007512, allocations: 4.141 kB / 378.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.007529, allocations: 8.125 kB / 378.6 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.007546, allocations: 4 kB / 378.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.007677, allocations: 35.97 kB / 378.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.008082, allocations: 248.5 kB / 378.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.00823, allocations: 66.42 kB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.008294, allocations: 20.84 kB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.008321, allocations: 8 kB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.008359, allocations: 34.67 kB / 379 MB, free: 1.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.00836, allocations: 3.938 kB / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001158/0.009518, allocations: 305.8 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.009568, allocations: 55.41 kB / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.009765, allocations: 168.9 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.009787, allocations: 25.7 kB / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.009869, allocations: 108 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.009919, allocations: 39.64 kB / 379.7 MB, free: 312 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.009972, allocations: 25.72 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.01017, allocations: 322.8 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.01027, allocations: 39.97 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.143e-05/0.01037, allocations: 31.98 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.01059, allocations: 100.1 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.01059, allocations: 0 / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002936/0.01089, allocations: 141.6 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.0109, allocations: 4 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01091, allocations: 0 / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01092, allocations: 0 / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.01106, allocations: 27.97 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.01107, allocations: 7.938 kB / 380.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.01112, allocations: 8 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.01113, allocations: 8 kB / 380.4 MB, free: 15.58 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 0.0001228/0.01125, allocations: 129.8 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.0113, allocations: 11.95 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.01169, allocations: 154.4 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.0117, allocations: 4 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.0117, allocations: 0 / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.01171, allocations: 3.938 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.01236, allocations: 406.8 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01236, allocations: 0 / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.752e-05/0.01246, allocations: 23.98 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01246, allocations: 3.938 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.01248, allocations: 4 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01248, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01248, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.01284, allocations: 256.1 kB / 381.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.01286, allocations: 7.891 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.01288, allocations: 8 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.01297, allocations: 4 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.01301, allocations: 15.97 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.01302, allocations: 4 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.01315, allocations: 123.2 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01315, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00028/0.01343, allocations: 20 kB / 381.6 MB, free: 14.35 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.002242/0.01567, allocations: 493.4 kB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.01595, allocations: 87.89 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01595, allocations: 0 / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.01607, allocations: 59.91 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.01643, allocations: 19.92 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.01701, allocations: 257.9 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.01712, allocations: 100 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.577e-05/0.01718, allocations: 28.53 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.01725, allocations: 20.48 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01725, allocations: 0 / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of Templates: time 0.004862/0.02211, allocations: 1.55 MB / 384.2 MB, free: 11.93 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.786531004006974]