Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 217.9 kB / 19.41 MB, free: 3.691 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.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 75.86 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3273, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003001/0.3303, allocations: 1.623 MB / 0.5332 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3314, allocations: 0.5536 MB / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.3315, allocations: 0 / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.3321, allocations: 457.1 kB / 0.5342 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.3326, allocations: 293.2 kB / 0.5345 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.3331, allocations: 171.9 kB / 0.5347 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.3334, allocations: 167.4 kB / 0.5348 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.3335, allocations: 15.36 kB / 0.5348 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3337, allocations: 106.1 kB / 0.5349 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.3339, allocations: 210.1 kB / 0.5351 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.3339, allocations: 3.125 kB / 0.5351 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.334, allocations: 30.27 kB / 0.5352 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.327e-05/0.3341, allocations: 78.83 kB / 0.5353 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.055e-05/0.3342, allocations: 107.1 kB / 0.5354 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.3345, allocations: 247 kB / 0.5356 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3345, allocations: 0 / 0.5356 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3346, allocations: 0 / 0.5356 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.3346, allocations: 0 / 0.5356 GB, free: 10.99 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.0007226/0.3353, allocations: 0.6267 MB / 0.5362 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3353, allocations: 10.5 kB / 0.5362 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.3354, allocations: 46.19 kB / 0.5363 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.3357, allocations: 299 kB / 0.5365 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3357, allocations: 9.469 kB / 0.5366 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.3357, allocations: 1.438 kB / 0.5366 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3359, allocations: 53.23 kB / 0.5366 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3359, allocations: 0 / 0.5366 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3359, allocations: 1.094 kB / 0.5366 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3359, allocations: 4 kB / 0.5366 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.336, allocations: 27.23 kB / 0.5366 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.3366, allocations: 391.8 kB / 0.537 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.412e-05/0.3367, allocations: 28.77 kB / 0.537 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.3367, allocations: 19.44 kB / 0.5371 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3367, allocations: 5.156 kB / 0.5371 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3368, allocations: 31.5 kB / 0.5371 GB, free: 9.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3368, allocations: 0 / 0.5371 GB, free: 9.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003247/0.3371, allocations: 107.8 kB / 0.5372 GB, free: 9.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.3371, allocations: 52.47 kB / 0.5372 GB, free: 9.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008714/0.338, allocations: 0.8665 MB / 0.5381 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.338, allocations: 26.86 kB / 0.5381 GB, free: 8.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.3383, allocations: 228.7 kB / 0.5383 GB, free: 8.781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.3383, allocations: 5.938 kB / 0.5383 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.3383, allocations: 11.78 kB / 0.5383 GB, free: 8.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3385, allocations: 368.3 kB / 0.5387 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.3385, allocations: 5.688 kB / 0.5387 GB, free: 8.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.3386, allocations: 14.92 kB / 0.5387 GB, free: 8.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.273e-05/0.3387, allocations: 30.44 kB / 0.5387 GB, free: 8.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3387, allocations: 0 / 0.5387 GB, free: 8.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001495/0.3388, allocations: 98.19 kB / 0.5388 GB, free: 8.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3389, allocations: 6.031 kB / 0.5388 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3389, allocations: 0 / 0.5388 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3389, allocations: 1.188 kB / 0.5388 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.339, allocations: 3.312 kB / 0.5389 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.339, allocations: 1.188 kB / 0.5389 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.339, allocations: 6 kB / 0.5389 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.339, allocations: 5.062 kB / 0.5389 GB, free: 8.305 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 (2): * Single equations (assignments): 2 * 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.0001767/0.3392, allocations: 222.3 kB / 0.5391 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.3393, allocations: 36.81 kB / 0.5391 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.3396, allocations: 113.3 kB / 0.5392 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3396, allocations: 1.531 kB / 0.5392 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3396, allocations: 4 kB / 0.5392 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3396, allocations: 0 / 0.5392 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.3399, allocations: 291.7 kB / 0.5395 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3399, allocations: 5.688 kB / 0.5395 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.3399, allocations: 3.906 kB / 0.5395 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3399, allocations: 3.938 kB / 0.5395 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.34, allocations: 1.281 kB / 0.5395 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.34, allocations: 3.984 kB / 0.5395 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.34, allocations: 0 / 0.5395 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.3402, allocations: 195 kB / 0.5397 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3403, allocations: 110.1 kB / 0.5398 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.3403, allocations: 3.984 kB / 0.5398 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.3404, allocations: 1.219 kB / 0.5398 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.3404, allocations: 5.844 kB / 0.5398 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.3404, allocations: 0 / 0.5398 GB, free: 7.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006675/0.3411, allocations: 0.6583 MB / 0.5405 GB, free: 7.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3411, allocations: 0 / 0.5405 GB, free: 7.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3414, allocations: 15.56 kB / 0.5405 GB, free: 7.152 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 (2): * Single equations (assignments): 2 * 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.0007557/0.3421, allocations: 351.2 kB / 0.5408 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.3423, allocations: 22.98 kB / 0.5408 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3423, allocations: 4.062 kB / 0.5408 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.3424, allocations: 16.58 kB / 0.5409 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.3427, allocations: 18.06 kB / 0.5409 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3438, allocations: 0.8112 MB / 0.5417 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.3443, allocations: 0.8204 MB / 0.5425 GB, free: 5.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.3443, allocations: 16.08 kB / 0.5425 GB, free: 5.711 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3443, allocations: 3.938 kB / 0.5425 GB, free: 5.707 MB / 398.1 MB Notification: Performance of Templates: time 0.006353/0.3507, allocations: 3.531 MB / 0.5459 GB, free: 2.883 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches