Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000724/0.0007241, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008213/0.0008214, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.175/0.175, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002244/0.0002245, allocations: 11.98 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.0857, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.001558/0.0873, allocations: 1.31 MB / 484.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.08815, allocations: 0.5263 MB / 484.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.08819, allocations: 0 / 484.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.08837, allocations: 23.92 kB / 484.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.08856, allocations: 63.75 kB / 485 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.08884, allocations: 111.4 kB / 485.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.08896, allocations: 55.84 kB / 485.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.522e-05/0.08904, allocations: 8 kB / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.08909, allocations: 23.86 kB / 485.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.08915, allocations: 23.84 kB / 485.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.08916, allocations: 0 / 485.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.568e-05/0.08924, allocations: 32 kB / 485.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.68e-05/0.08928, allocations: 11.98 kB / 485.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.08933, allocations: 45.52 kB / 485.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.08946, allocations: 87.7 kB / 485.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.08947, allocations: 3.938 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.08948, allocations: 0 / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.08949, allocations: 0 / 485.4 MB, free: 1.82 MB / 350.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.0003524/0.08984, allocations: 371.5 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.08988, allocations: 12.88 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.08992, allocations: 8.844 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.09007, allocations: 196.2 kB / 486 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.09009, allocations: 384 / 486 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.09011, allocations: 4.375 kB / 486 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.09023, allocations: 53.81 kB / 486 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.09025, allocations: 0 / 486 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.09026, allocations: 0 / 486 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.09027, allocations: 3.938 kB / 486 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.654e-05/0.09038, allocations: 35.91 kB / 486.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.09071, allocations: 292.8 kB / 486.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.0909, allocations: 50.55 kB / 486.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.09097, allocations: 24.88 kB / 486.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.09099, allocations: 3.984 kB / 486.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.09101, allocations: 34.56 kB / 486.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.09102, allocations: 3.938 kB / 486.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005434/0.09157, allocations: 165.3 kB / 486.6 MB, free: 428 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.0916, allocations: 55.41 kB / 486.7 MB, free: 360 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.09174, allocations: 165.8 kB / 486.8 MB, free: 184 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.09176, allocations: 25.7 kB / 486.9 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.09181, allocations: 96.14 kB / 487 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.09183, allocations: 19.73 kB / 487 MB, free: 32 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.09187, allocations: 13.72 kB / 487 MB, free: 12 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.09197, allocations: 318.8 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.601e-05/0.09205, allocations: 23.98 kB / 487.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.78e-05/0.09212, allocations: 27.98 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.09228, allocations: 60.83 kB / 487.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.09229, allocations: 0 / 487.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.09249, allocations: 101.5 kB / 487.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.09251, allocations: 8 kB / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.09252, allocations: 0 / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.09254, allocations: 0 / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.09261, allocations: 15.98 kB / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.09262, allocations: 0 / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.09267, allocations: 7.938 kB / 487.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.09268, allocations: 8 kB / 487.5 MB, free: 15.43 MB / 366.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 7.095e-05/0.09276, allocations: 117.8 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.0928, allocations: 8.156 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.09304, allocations: 109.9 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.09306, allocations: 3.984 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.09306, allocations: 4 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.09307, allocations: 3.938 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.09347, allocations: 366.5 kB / 488.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.09349, allocations: 0 / 488.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.09356, allocations: 19.98 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.09357, allocations: 3.938 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.09358, allocations: 3.938 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.09359, allocations: 0 / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.09359, allocations: 0 / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.09382, allocations: 191.4 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.09387, allocations: 96.89 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.09389, allocations: 3.938 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.09397, allocations: 7.984 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.094, allocations: 4 kB / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.09401, allocations: 0 / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.527e-05/0.0941, allocations: 126.8 kB / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09411, allocations: 0 / 488.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.09436, allocations: 24 kB / 488.6 MB, free: 14.26 MB / 366.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.0008396/0.0952, allocations: 398.3 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.09541, allocations: 63.89 kB / 489.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.09542, allocations: 0 / 489.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.09551, allocations: 31.98 kB / 489.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.09581, allocations: 19.92 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.09619, allocations: 221.2 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.0964, allocations: 0.7004 MB / 490 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.816e-05/0.09646, allocations: 11.98 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.09649, allocations: 15.44 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.0965, allocations: 0 / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Templates: time 0.003063/0.09957, allocations: 1.079 MB / 491.1 MB, free: 11.81 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches