Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007642/0.0007642, allocations: 95.56 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2839/0.2839, allocations: 45 MB / 397 MB, free: 31.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.000233, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2562, allocations: 63.09 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.001482/0.2578, allocations: 1.364 MB / 0.5227 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007365/0.2585, allocations: 0.7564 MB / 0.5234 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.2586, allocations: 0 / 0.5234 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.259, allocations: 453.8 kB / 0.5239 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.2592, allocations: 272.5 kB / 0.5241 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.2595, allocations: 122.1 kB / 0.5243 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.2596, allocations: 172.4 kB / 0.5244 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.2597, allocations: 16.22 kB / 0.5244 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.2598, allocations: 105.1 kB / 0.5245 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.26, allocations: 213 kB / 0.5247 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.26, allocations: 0 / 0.5247 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.173e-05/0.2601, allocations: 40.72 kB / 0.5248 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.2602, allocations: 85.75 kB / 0.5249 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.2602, allocations: 131 kB / 0.525 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.2604, allocations: 263.8 kB / 0.5252 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2605, allocations: 0 / 0.5252 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2605, allocations: 3.938 kB / 0.5252 GB, free: 36.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2605, allocations: 0 / 0.5252 GB, free: 36.35 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004548/0.2609, allocations: 0.6067 MB / 0.5258 GB, free: 35.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.261, allocations: 8.656 kB / 0.5258 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.261, allocations: 42.03 kB / 0.5259 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.2612, allocations: 297.1 kB / 0.5262 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.2612, allocations: 384 / 0.5262 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.2612, allocations: 10.97 kB / 0.5262 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.2614, allocations: 71.72 kB / 0.5262 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2614, allocations: 0 / 0.5262 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.2614, allocations: 0 / 0.5262 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.2614, allocations: 2.719 kB / 0.5262 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2616, allocations: 47.03 kB / 0.5263 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.2619, allocations: 406 kB / 0.5267 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.2621, allocations: 58.17 kB / 0.5267 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.577e-05/0.2622, allocations: 32.81 kB / 0.5268 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2622, allocations: 0 / 0.5268 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.2622, allocations: 37.09 kB / 0.5268 GB, free: 35.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 7.52e-07/0.2622, allocations: 0 / 0.5268 GB, free: 35.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001207/0.2634, allocations: 0.5446 MB / 0.5273 GB, free: 34.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.53e-05/0.2635, allocations: 55.34 kB / 0.5274 GB, free: 34.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.264, allocations: 0.8565 MB / 0.5282 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.264, allocations: 25.7 kB / 0.5282 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2641, allocations: 217.8 kB / 0.5284 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.2642, allocations: 33.44 kB / 0.5285 GB, free: 34.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.2642, allocations: 6.781 kB / 0.5285 GB, free: 34.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.2642, allocations: 358.5 kB / 0.5288 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.2643, allocations: 49.98 kB / 0.5289 GB, free: 33.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.2645, allocations: 53.66 kB / 0.5289 GB, free: 33.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.2647, allocations: 122 kB / 0.529 GB, free: 33.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.2647, allocations: 0 / 0.529 GB, free: 33.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002606/0.2649, allocations: 186 kB / 0.5292 GB, free: 33.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.265, allocations: 5.906 kB / 0.5292 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.265, allocations: 0 / 0.5292 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.265, allocations: 6.375 kB / 0.5292 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.2651, allocations: 28.73 kB / 0.5293 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2651, allocations: 7.156 kB / 0.5293 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.2652, allocations: 10.11 kB / 0.5293 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2652, allocations: 11.06 kB / 0.5293 GB, free: 33.72 MB / 378.7 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 (11): * Single equations (assignments): 11 * 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.0001236/0.2653, allocations: 219.5 kB / 0.5295 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.2654, allocations: 51.12 kB / 0.5295 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.2657, allocations: 211.3 kB / 0.5297 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2657, allocations: 10.88 kB / 0.5298 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2657, allocations: 0 / 0.5298 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2657, allocations: 0 / 0.5298 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.2663, allocations: 0.5853 MB / 0.5303 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2663, allocations: 0 / 0.5303 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.096e-05/0.2664, allocations: 34.78 kB / 0.5304 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2664, allocations: 2.688 kB / 0.5304 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2664, allocations: 2.531 kB / 0.5304 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2664, allocations: 3.328 kB / 0.5304 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2664, allocations: 2.688 kB / 0.5304 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.2667, allocations: 297.5 kB / 0.5307 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.2668, allocations: 114.9 kB / 0.5308 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.2668, allocations: 10.59 kB / 0.5308 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.721e-05/0.2669, allocations: 14.08 kB / 0.5308 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.267, allocations: 10.3 kB / 0.5308 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.267, allocations: 9.125 kB / 0.5308 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004133/0.2674, allocations: 0.648 MB / 0.5314 GB, free: 32.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2674, allocations: 0 / 0.5314 GB, free: 32.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.2676, allocations: 33.11 kB / 0.5315 GB, free: 32.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008424/0.2685, allocations: 0.5113 MB / 0.532 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.2687, allocations: 126.3 kB / 0.5321 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2687, allocations: 0 / 0.5321 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.2689, allocations: 69.16 kB / 0.5322 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.2692, allocations: 29.69 kB / 0.5322 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008187/0.27, allocations: 0.947 MB / 0.5331 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.2703, allocations: 0.8289 MB / 0.5339 GB, free: 30.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.655e-05/0.2704, allocations: 12.09 kB / 0.5339 GB, free: 30.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.2704, allocations: 17.28 kB / 0.5339 GB, free: 30.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2704, allocations: 0 / 0.5339 GB, free: 30.86 MB / 378.7 MB Notification: Performance of Templates: time 0.004164/0.2746, allocations: 1.698 MB / 0.5356 GB, free: 30.66 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches