Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001605/0.001605, allocations: 113.8 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.001835/0.001835, allocations: 198.7 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.416/1.416, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4262, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.00477/0.431, allocations: 1.693 MB / 0.5333 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.4325, allocations: 0.566 MB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.4328, allocations: 6.062 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.4331, allocations: 22.72 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005103/0.4337, allocations: 80.22 kB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.4343, allocations: 137.1 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.4345, allocations: 96.81 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.4346, allocations: 20.23 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.4347, allocations: 36.22 kB / 0.5343 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/0.4348, allocations: 44.14 kB / 0.5343 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.4348, allocations: 6.875 kB / 0.5343 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.435, allocations: 106.9 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.4351, allocations: 25.41 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.4352, allocations: 34.67 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.4355, allocations: 161.2 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.4355, allocations: 8 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4355, allocations: 7.875 kB / 0.5347 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.4355, allocations: 1.375 kB / 0.5347 GB, free: 11.34 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.0007527/0.4363, allocations: 428.8 kB / 0.5351 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.4364, allocations: 13.56 kB / 0.5351 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.4364, allocations: 12.88 kB / 0.5351 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.4367, allocations: 193.8 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4367, allocations: 9.75 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.4368, allocations: 10.67 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.4371, allocations: 89.42 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.4371, allocations: 0 / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4371, allocations: 5.375 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4371, allocations: 1.375 kB / 0.5354 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.4374, allocations: 69.27 kB / 0.5354 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.438, allocations: 310.7 kB / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.4383, allocations: 73.91 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.4384, allocations: 42.27 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.4385, allocations: 5.578 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.4385, allocations: 35.98 kB / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.4385, allocations: 0 / 0.5359 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001632/0.4402, allocations: 377.1 kB / 0.5363 GB, free: 9.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.4403, allocations: 87.36 kB / 0.5363 GB, free: 9.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.4405, allocations: 151 kB / 0.5365 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.4405, allocations: 34.73 kB / 0.5365 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.4406, allocations: 95.53 kB / 0.5366 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.4407, allocations: 32.28 kB / 0.5366 GB, free: 9.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.4407, allocations: 28.58 kB / 0.5367 GB, free: 9.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4409, allocations: 325.1 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.4412, allocations: 66.48 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.4415, allocations: 86.92 kB / 0.5371 GB, free: 9.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.442, allocations: 146.8 kB / 0.5373 GB, free: 9.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4421, allocations: 7.969 kB / 0.5373 GB, free: 9.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005928/0.4427, allocations: 188.9 kB / 0.5374 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4427, allocations: 6.125 kB / 0.5375 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.4427, allocations: 7.938 kB / 0.5375 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4427, allocations: 4 kB / 0.5375 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.443, allocations: 38.53 kB / 0.5375 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.443, allocations: 9.125 kB / 0.5375 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.4432, allocations: 24.88 kB / 0.5375 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.4432, allocations: 6.125 kB / 0.5375 GB, free: 8.863 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 (10): * Single equations (assignments): 10 * 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.0001612/0.4434, allocations: 116.3 kB / 0.5377 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.4434, allocations: 16.16 kB / 0.5377 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007901/0.4442, allocations: 205.9 kB / 0.5379 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4442, allocations: 1 kB / 0.5379 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.4442, allocations: 5.156 kB / 0.5379 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4443, allocations: 0 / 0.5379 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.4454, allocations: 494.2 kB / 0.5383 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4454, allocations: 4 kB / 0.5383 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.4457, allocations: 40.05 kB / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4457, allocations: 1.188 kB / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4457, allocations: 1.438 kB / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4457, allocations: 0 / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4457, allocations: 0.9688 kB / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.4465, allocations: 297.4 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.4466, allocations: 83.33 kB / 0.5387 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.4466, allocations: 1.125 kB / 0.5387 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4468, allocations: 25.12 kB / 0.5388 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.002e-05/0.4469, allocations: 12.8 kB / 0.5388 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.4469, allocations: 2 kB / 0.5388 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.447, allocations: 124.6 kB / 0.5389 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4471, allocations: 0.9688 kB / 0.5389 GB, free: 7.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.4474, allocations: 47.48 kB / 0.539 GB, free: 7.707 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 (9): * Single equations (assignments): 9 * 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.001642/0.4491, allocations: 0.4978 MB / 0.5394 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007081/0.4498, allocations: 157.3 kB / 0.5396 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4498, allocations: 0 / 0.5396 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.4501, allocations: 86.64 kB / 0.5397 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.4506, allocations: 28.72 kB / 0.5397 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.4512, allocations: 225.3 kB / 0.5399 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.4517, allocations: 0.7027 MB / 0.5406 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.872e-05/0.4518, allocations: 23.27 kB / 0.5406 GB, free: 6.398 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4518, allocations: 0.9688 kB / 0.5406 GB, free: 6.398 MB / 398.1 MB Notification: Performance of Templates: time 0.007824/0.4596, allocations: 2.501 MB / 0.5431 GB, free: 5.105 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches