Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001723/0.001723, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00205/0.00205, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 79.81 kB / 482 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.356, allocations: 62.42 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00298/0.3591, allocations: 1.601 MB / 0.5332 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3602, allocations: 0.5311 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.3602, allocations: 1.344 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.3605, allocations: 23.94 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.3608, allocations: 75.91 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.3611, allocations: 91.88 kB / 0.5339 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.3613, allocations: 58 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3614, allocations: 23.09 kB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.3615, allocations: 27.33 kB / 0.534 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.3615, allocations: 19.66 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.3615, allocations: 1.938 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3617, allocations: 36.19 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.3617, allocations: 15.86 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.3618, allocations: 19.56 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.362, allocations: 79.48 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.362, allocations: 0.8438 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.362, allocations: 0 / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.362, allocations: 4 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004802/0.3625, allocations: 386.7 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3625, allocations: 8.75 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.3626, allocations: 8.844 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.3628, allocations: 193.3 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.3628, allocations: 384 / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.3628, allocations: 3.125 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.363, allocations: 51.44 kB / 0.5348 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.363, allocations: 4 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.363, allocations: 1.375 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.363, allocations: 3.984 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.3631, allocations: 21.73 kB / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.3635, allocations: 274.7 kB / 0.5351 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3637, allocations: 39.06 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.3637, allocations: 23.81 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.3638, allocations: 1.375 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3638, allocations: 31.94 kB / 0.5352 GB, free: 10.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.465e-06/0.3638, allocations: 0 / 0.5352 GB, free: 10.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005481/0.3643, allocations: 140.7 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.3644, allocations: 56.78 kB / 0.5354 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3645, allocations: 157.3 kB / 0.5356 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3646, allocations: 31.02 kB / 0.5356 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.3646, allocations: 94.83 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3647, allocations: 22.53 kB / 0.5357 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.3647, allocations: 17.78 kB / 0.5357 GB, free: 10.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3648, allocations: 325.5 kB / 0.536 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.3649, allocations: 21.61 kB / 0.536 GB, free: 9.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.606e-05/0.365, allocations: 18.98 kB / 0.5361 GB, free: 9.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.3651, allocations: 44.2 kB / 0.5361 GB, free: 9.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3651, allocations: 0 / 0.5361 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001695/0.3653, allocations: 85.19 kB / 0.5362 GB, free: 9.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3653, allocations: 5.5 kB / 0.5362 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3653, allocations: 0 / 0.5362 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3653, allocations: 4 kB / 0.5362 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.3654, allocations: 17.55 kB / 0.5362 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3654, allocations: 1.375 kB / 0.5362 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.774e-05/0.3655, allocations: 2.75 kB / 0.5362 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3655, allocations: 1.375 kB / 0.5362 GB, free: 9.641 MB / 398.1 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 (5): * Single equations (assignments): 5 * 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 9.298e-05/0.3656, allocations: 123.3 kB / 0.5363 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.3656, allocations: 6.656 kB / 0.5363 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.3658, allocations: 93.59 kB / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3658, allocations: 1.094 kB / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3658, allocations: 0 / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3659, allocations: 1.031 kB / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.3663, allocations: 350.2 kB / 0.5368 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3663, allocations: 4.062 kB / 0.5368 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.3663, allocations: 9.656 kB / 0.5368 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3663, allocations: 5.125 kB / 0.5368 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3664, allocations: 9.078 kB / 0.5368 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.3664, allocations: 3.938 kB / 0.5368 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3664, allocations: 1.062 kB / 0.5368 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.3666, allocations: 174.7 kB / 0.537 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.3666, allocations: 79.67 kB / 0.537 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3667, allocations: 1.281 kB / 0.537 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.3667, allocations: 14.52 kB / 0.5371 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.3668, allocations: 2.281 kB / 0.5371 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.3668, allocations: 5.156 kB / 0.5371 GB, free: 8.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.954e-05/0.3669, allocations: 124.7 kB / 0.5372 GB, free: 8.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3669, allocations: 0 / 0.5372 GB, free: 8.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.3672, allocations: 22.53 kB / 0.5372 GB, free: 8.691 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009527/0.3681, allocations: 395.1 kB / 0.5376 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.3683, allocations: 55.58 kB / 0.5376 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3683, allocations: 0 / 0.5376 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/0.3684, allocations: 24.27 kB / 0.5377 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3688, allocations: 23.94 kB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.3692, allocations: 195 kB / 0.5379 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.3695, allocations: 0.6989 MB / 0.5385 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.3696, allocations: 15.84 kB / 0.5386 GB, free: 7.539 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3696, allocations: 1.125 kB / 0.5386 GB, free: 7.539 MB / 398.1 MB Notification: Performance of Templates: time 0.003604/0.3732, allocations: 1.427 MB / 0.54 GB, free: 6.801 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches