Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 107.8 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 209.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 71.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4218, allocations: 62.44 MB / 0.5317 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003441/0.4253, allocations: 1.67 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.4273, allocations: 1.197 MB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.695e-05/0.4274, allocations: 1.5 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.4277, allocations: 23.86 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004001/0.4281, allocations: 88.73 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.4287, allocations: 176.7 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.4289, allocations: 79.33 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.429, allocations: 26.41 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.672e-05/0.4291, allocations: 27.77 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.4292, allocations: 35.62 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.4293, allocations: 4.812 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.4295, allocations: 104.8 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.4296, allocations: 22.05 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.4296, allocations: 25.58 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.43, allocations: 149.5 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.43, allocations: 5.031 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.43, allocations: 0 / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.43, allocations: 0 / 0.5352 GB, free: 10.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005862/0.4306, allocations: 415.5 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.4307, allocations: 9 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.4307, allocations: 8.969 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.431, allocations: 193.8 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.431, allocations: 5.75 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.431, allocations: 7.125 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.4312, allocations: 82.69 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4313, allocations: 1.375 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.4313, allocations: 0 / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4313, allocations: 1.375 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.4314, allocations: 39.34 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.4319, allocations: 308.3 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.4321, allocations: 53.73 kB / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.316e-05/0.4322, allocations: 25.31 kB / 0.5363 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.4322, allocations: 3.984 kB / 0.5363 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4322, allocations: 43.94 kB / 0.5364 GB, free: 9.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4322, allocations: 3.938 kB / 0.5364 GB, free: 9.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008437/0.4331, allocations: 226.1 kB / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.4331, allocations: 87.25 kB / 0.5367 GB, free: 9.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.4333, allocations: 152.2 kB / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.4334, allocations: 29.7 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.4334, allocations: 100.2 kB / 0.5369 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.4335, allocations: 18.72 kB / 0.5369 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.4335, allocations: 23.75 kB / 0.537 GB, free: 9.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4336, allocations: 321.2 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.4338, allocations: 41.16 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4339, allocations: 53.42 kB / 0.5374 GB, free: 8.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.4342, allocations: 91.89 kB / 0.5374 GB, free: 8.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4342, allocations: 0 / 0.5374 GB, free: 8.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003004/0.4345, allocations: 132 kB / 0.5376 GB, free: 8.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4345, allocations: 5.344 kB / 0.5376 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4345, allocations: 0.875 kB / 0.5376 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4346, allocations: 1.094 kB / 0.5376 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.4347, allocations: 18.14 kB / 0.5376 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4347, allocations: 1.219 kB / 0.5376 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.4348, allocations: 18.45 kB / 0.5376 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.4348, allocations: 5.25 kB / 0.5376 GB, free: 8.707 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 (7): * Single equations (assignments): 7 * 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.638e-05/0.4349, allocations: 124.3 kB / 0.5377 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.435, allocations: 7.719 kB / 0.5377 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.4353, allocations: 134.2 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4353, allocations: 1.156 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4353, allocations: 0 / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4354, allocations: 9.125 kB / 0.5379 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.4359, allocations: 409.6 kB / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.436, allocations: 1 kB / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-05/0.4361, allocations: 22 kB / 0.5383 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4361, allocations: 0.8438 kB / 0.5383 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.4361, allocations: 8.688 kB / 0.5383 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4361, allocations: 1.062 kB / 0.5383 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4361, allocations: 4 kB / 0.5383 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.4365, allocations: 220 kB / 0.5385 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.4365, allocations: 87.2 kB / 0.5386 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.4365, allocations: 5.156 kB / 0.5386 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.4367, allocations: 14.8 kB / 0.5386 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.4367, allocations: 10.36 kB / 0.5386 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.4367, allocations: 6.219 kB / 0.5386 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.4368, allocations: 112.8 kB / 0.5387 GB, free: 7.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4369, allocations: 0 / 0.5387 GB, free: 7.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000329/0.4372, allocations: 42.64 kB / 0.5388 GB, free: 7.676 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 (7): * Single equations (assignments): 7 * 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.001197/0.4384, allocations: 486.7 kB / 0.5393 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.4387, allocations: 96.38 kB / 0.5393 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4387, allocations: 1.344 kB / 0.5393 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.4389, allocations: 51.64 kB / 0.5394 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.4392, allocations: 27 kB / 0.5394 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005611/0.4398, allocations: 238.8 kB / 0.5396 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.4401, allocations: 0.6975 MB / 0.5403 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.4402, allocations: 20.98 kB / 0.5403 GB, free: 6.43 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4402, allocations: 0 / 0.5403 GB, free: 6.43 MB / 398.1 MB Notification: Performance of Templates: time 0.004951/0.4451, allocations: 2.198 MB / 0.5425 GB, free: 5.285 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches