Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 105.1 kB / 18.45 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 210.8 kB / 19.41 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 79.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3156, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003155/0.3188, allocations: 1.616 MB / 0.5332 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3198, allocations: 0.5391 MB / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.3199, allocations: 1.375 kB / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.3205, allocations: 455.9 kB / 0.5342 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.321, allocations: 289 kB / 0.5345 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.3214, allocations: 127.8 kB / 0.5346 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000307/0.3218, allocations: 174.6 kB / 0.5348 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.3219, allocations: 6.75 kB / 0.5348 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.322, allocations: 114.5 kB / 0.5349 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.3223, allocations: 215.3 kB / 0.5351 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.3224, allocations: 2.75 kB / 0.5351 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.248e-05/0.3225, allocations: 19.28 kB / 0.5351 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.3226, allocations: 81.5 kB / 0.5352 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.3227, allocations: 108 kB / 0.5353 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.323, allocations: 248.8 kB / 0.5355 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.323, allocations: 0 / 0.5355 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.323, allocations: 1.125 kB / 0.5355 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.323, allocations: 0 / 0.5355 GB, free: 11.02 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.0007225/0.3237, allocations: 0.6402 MB / 0.5362 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.3238, allocations: 9.938 kB / 0.5362 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.3238, allocations: 42.47 kB / 0.5362 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3241, allocations: 290 kB / 0.5365 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3241, allocations: 13.53 kB / 0.5365 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.3241, allocations: 5.547 kB / 0.5365 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.3243, allocations: 55.36 kB / 0.5366 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3243, allocations: 0 / 0.5366 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.3243, allocations: 4 kB / 0.5366 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3243, allocations: 1 kB / 0.5366 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3245, allocations: 38.56 kB / 0.5366 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.325, allocations: 378.9 kB / 0.537 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3251, allocations: 40.41 kB / 0.537 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.3252, allocations: 23.06 kB / 0.537 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3252, allocations: 1.375 kB / 0.537 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3252, allocations: 34.56 kB / 0.5371 GB, free: 9.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/0.3252, allocations: 0 / 0.5371 GB, free: 9.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003834/0.3256, allocations: 117.3 kB / 0.5372 GB, free: 9.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.3257, allocations: 52.28 kB / 0.5372 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008715/0.3265, allocations: 0.8625 MB / 0.5381 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3266, allocations: 26.52 kB / 0.5381 GB, free: 9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3267, allocations: 215.7 kB / 0.5383 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.3267, allocations: 8.828 kB / 0.5383 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.3268, allocations: 16.88 kB / 0.5383 GB, free: 8.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3269, allocations: 360.4 kB / 0.5387 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.327, allocations: 16.45 kB / 0.5387 GB, free: 8.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.3271, allocations: 17.48 kB / 0.5387 GB, free: 8.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.3273, allocations: 43.23 kB / 0.5387 GB, free: 8.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3273, allocations: 0 / 0.5387 GB, free: 8.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001997/0.3275, allocations: 106.3 kB / 0.5388 GB, free: 8.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3275, allocations: 4.469 kB / 0.5388 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3275, allocations: 1.125 kB / 0.5388 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3275, allocations: 0 / 0.5388 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.952e-05/0.3276, allocations: 10.78 kB / 0.5389 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3276, allocations: 5.234 kB / 0.5389 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.3277, allocations: 7.406 kB / 0.5389 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3277, allocations: 1.062 kB / 0.5389 GB, free: 8.316 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 (3): * Single equations (assignments): 3 * 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.0001757/0.3279, allocations: 213 kB / 0.5391 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.3279, allocations: 37.44 kB / 0.5391 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.3283, allocations: 123.7 kB / 0.5392 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3283, allocations: 5.375 kB / 0.5392 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3283, allocations: 0 / 0.5392 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3283, allocations: 0 / 0.5392 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.3286, allocations: 301.3 kB / 0.5395 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3286, allocations: 7.984 kB / 0.5395 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.3287, allocations: 6.75 kB / 0.5395 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3287, allocations: 3.938 kB / 0.5395 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3287, allocations: 1.156 kB / 0.5395 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3287, allocations: 0 / 0.5395 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3287, allocations: 5.484 kB / 0.5395 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.3289, allocations: 204 kB / 0.5397 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.3291, allocations: 113.2 kB / 0.5398 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3291, allocations: 1.25 kB / 0.5398 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.3292, allocations: 7.047 kB / 0.5398 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.3292, allocations: 5.344 kB / 0.5399 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3292, allocations: 1.344 kB / 0.5399 GB, free: 7.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006529/0.3299, allocations: 0.6548 MB / 0.5405 GB, free: 7.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3299, allocations: 0 / 0.5405 GB, free: 7.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.3302, allocations: 15.69 kB / 0.5405 GB, free: 7.145 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 (3): * Single equations (assignments): 3 * 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.0008474/0.331, allocations: 340.2 kB / 0.5408 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.3312, allocations: 37.47 kB / 0.5409 GB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3313, allocations: 5.125 kB / 0.5409 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.509e-05/0.3313, allocations: 20.05 kB / 0.5409 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.3317, allocations: 28.91 kB / 0.5409 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3331, allocations: 0.8183 MB / 0.5417 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.3335, allocations: 0.8201 MB / 0.5425 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.3335, allocations: 15.78 kB / 0.5425 GB, free: 5.695 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3335, allocations: 3.938 kB / 0.5425 GB, free: 5.691 MB / 398.1 MB Notification: Performance of Templates: time 0.007224/0.3407, allocations: 3.522 MB / 0.546 GB, free: 2.836 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches