Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001879/0.001879, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 71.89 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3273, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003868/0.3312, allocations: 1.59 MB / 0.5332 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3327, allocations: 0.5491 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.3328, allocations: 1.375 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.333, allocations: 28.5 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.3334, allocations: 76.5 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.3339, allocations: 109.7 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3341, allocations: 70.88 kB / 0.534 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3342, allocations: 11.31 kB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.3343, allocations: 27.48 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.3343, allocations: 23.52 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3344, allocations: 1.5 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3345, allocations: 33.27 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.3346, allocations: 11.92 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.3346, allocations: 24.59 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3348, allocations: 87.89 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3348, allocations: 0 / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3349, allocations: 0 / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3349, allocations: 0 / 0.5342 GB, free: 11.6 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.0005335/0.3354, allocations: 386.9 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3355, allocations: 9.625 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/0.3355, allocations: 7.594 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3358, allocations: 189.8 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3358, allocations: 1.75 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3358, allocations: 5.688 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.336, allocations: 56.8 kB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.336, allocations: 3.938 kB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.336, allocations: 1.375 kB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3361, allocations: 4 kB / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.3362, allocations: 25.72 kB / 0.5349 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.3367, allocations: 276.3 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.337, allocations: 44.38 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.883e-05/0.3371, allocations: 19.81 kB / 0.5352 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3371, allocations: 5.375 kB / 0.5352 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3372, allocations: 31.94 kB / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.3372, allocations: 0 / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008081/0.338, allocations: 149.9 kB / 0.5354 GB, free: 10.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.338, allocations: 52.78 kB / 0.5355 GB, free: 10.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.3383, allocations: 157.4 kB / 0.5356 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3383, allocations: 27.08 kB / 0.5356 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.3384, allocations: 98.77 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.3384, allocations: 18.53 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.3385, allocations: 17.84 kB / 0.5358 GB, free: 10.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3387, allocations: 325.5 kB / 0.5361 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3388, allocations: 18.98 kB / 0.5361 GB, free: 9.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3389, allocations: 24.36 kB / 0.5361 GB, free: 9.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.3391, allocations: 52.33 kB / 0.5362 GB, free: 9.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3392, allocations: 0 / 0.5362 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003139/0.3395, allocations: 94.69 kB / 0.5363 GB, free: 9.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3395, allocations: 7.688 kB / 0.5363 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3395, allocations: 1.375 kB / 0.5363 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3395, allocations: 0 / 0.5363 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3397, allocations: 17.61 kB / 0.5363 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3397, allocations: 1.375 kB / 0.5363 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.3398, allocations: 2.188 kB / 0.5363 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3398, allocations: 1.188 kB / 0.5363 GB, free: 9.625 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 0.0001291/0.3399, allocations: 123.3 kB / 0.5364 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.34, allocations: 7.125 kB / 0.5364 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.3404, allocations: 105.3 kB / 0.5365 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3404, allocations: 5.156 kB / 0.5365 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3404, allocations: 0 / 0.5365 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3404, allocations: 0 / 0.5365 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.3411, allocations: 356.2 kB / 0.5369 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3411, allocations: 288 / 0.5369 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.905e-05/0.3412, allocations: 17.39 kB / 0.5369 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3412, allocations: 1.156 kB / 0.5369 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3413, allocations: 7.938 kB / 0.5369 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.3413, allocations: 9.5 kB / 0.5369 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3413, allocations: 0 / 0.5369 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.3417, allocations: 182.1 kB / 0.5371 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.3417, allocations: 79.02 kB / 0.5371 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.3418, allocations: 1.562 kB / 0.5371 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.3419, allocations: 6.812 kB / 0.5371 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.342, allocations: 17.7 kB / 0.5372 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.342, allocations: 2.438 kB / 0.5372 GB, free: 8.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3421, allocations: 124.8 kB / 0.5373 GB, free: 8.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3421, allocations: 0 / 0.5373 GB, free: 8.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004533/0.3426, allocations: 18.47 kB / 0.5373 GB, free: 8.656 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.001468/0.3441, allocations: 391 kB / 0.5377 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.3444, allocations: 54.47 kB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3444, allocations: 0 / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3446, allocations: 29.47 kB / 0.5378 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.3451, allocations: 20.19 kB / 0.5378 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.3457, allocations: 213 kB / 0.538 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.346, allocations: 0.6951 MB / 0.5387 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.3461, allocations: 17.17 kB / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3461, allocations: 0 / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of Templates: time 0.003376/0.3495, allocations: 1.454 MB / 0.5401 GB, free: 6.75 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches