Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001447, allocations: 109.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 206.8 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 76.09 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3755, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003263/0.3788, allocations: 1.679 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3799, allocations: 0.5858 MB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.38, allocations: 1.375 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.3805, allocations: 457.2 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.3809, allocations: 292.4 kB / 0.5346 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.3814, allocations: 173.2 kB / 0.5348 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.3816, allocations: 175.2 kB / 0.5349 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3817, allocations: 27.59 kB / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3818, allocations: 115.4 kB / 0.5351 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.3821, allocations: 211.1 kB / 0.5353 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3821, allocations: 3.906 kB / 0.5353 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3823, allocations: 56.95 kB / 0.5353 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.3823, allocations: 86.66 kB / 0.5354 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.52e-05/0.3824, allocations: 108.5 kB / 0.5355 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.3827, allocations: 275.7 kB / 0.5358 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3827, allocations: 0 / 0.5358 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3827, allocations: 1.094 kB / 0.5358 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3828, allocations: 0 / 0.5358 GB, free: 10.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006897/0.3835, allocations: 0.6498 MB / 0.5364 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.3835, allocations: 8.625 kB / 0.5364 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.3836, allocations: 47.72 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.3838, allocations: 303.4 kB / 0.5368 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3838, allocations: 6.438 kB / 0.5368 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3839, allocations: 6.562 kB / 0.5368 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.384, allocations: 63.08 kB / 0.5368 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.384, allocations: 0 / 0.5368 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3841, allocations: 9.141 kB / 0.5368 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3841, allocations: 1 kB / 0.5368 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3842, allocations: 30.38 kB / 0.5369 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.3847, allocations: 408.2 kB / 0.5373 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3848, allocations: 44.78 kB / 0.5373 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.3849, allocations: 21.69 kB / 0.5373 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3849, allocations: 0 / 0.5373 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3849, allocations: 40.62 kB / 0.5374 GB, free: 9.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3849, allocations: 0 / 0.5374 GB, free: 9.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009685/0.3859, allocations: 318.8 kB / 0.5377 GB, free: 9.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.386, allocations: 61.67 kB / 0.5377 GB, free: 9.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/0.3868, allocations: 0.8699 MB / 0.5386 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3868, allocations: 31.36 kB / 0.5386 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.387, allocations: 216.8 kB / 0.5388 GB, free: 8.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.387, allocations: 31.61 kB / 0.5388 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.3871, allocations: 19.56 kB / 0.5389 GB, free: 8.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3872, allocations: 368.4 kB / 0.5392 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.3873, allocations: 28.77 kB / 0.5392 GB, free: 8.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/0.3874, allocations: 37.53 kB / 0.5393 GB, free: 8.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3876, allocations: 70.94 kB / 0.5393 GB, free: 8.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3876, allocations: 0 / 0.5393 GB, free: 8.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002587/0.3878, allocations: 147.4 kB / 0.5395 GB, free: 7.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3879, allocations: 13.8 kB / 0.5395 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3879, allocations: 0 / 0.5395 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3879, allocations: 5.625 kB / 0.5395 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.852e-05/0.388, allocations: 18.03 kB / 0.5395 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.388, allocations: 11.92 kB / 0.5395 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/0.3881, allocations: 6.719 kB / 0.5395 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3881, allocations: 2.688 kB / 0.5395 GB, free: 7.887 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 (8): * Single equations (assignments): 8 * 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.0002017/0.3883, allocations: 215.5 kB / 0.5398 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.3884, allocations: 42.56 kB / 0.5398 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.3887, allocations: 182.9 kB / 0.54 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3887, allocations: 1.062 kB / 0.54 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3887, allocations: 3.938 kB / 0.54 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3888, allocations: 0 / 0.54 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006502/0.3894, allocations: 0.5084 MB / 0.5405 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3894, allocations: 7.922 kB / 0.5405 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.914e-05/0.3895, allocations: 14.72 kB / 0.5405 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3895, allocations: 5.25 kB / 0.5405 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3895, allocations: 9.078 kB / 0.5405 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3895, allocations: 4.812 kB / 0.5405 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3895, allocations: 1.094 kB / 0.5405 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.3898, allocations: 238.6 kB / 0.5407 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.3899, allocations: 115.1 kB / 0.5408 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.3899, allocations: 5.188 kB / 0.5409 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.39, allocations: 7.578 kB / 0.5409 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.3901, allocations: 7.719 kB / 0.5409 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3901, allocations: 6.203 kB / 0.5409 GB, free: 6.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006017/0.3907, allocations: 0.6548 MB / 0.5415 GB, free: 6.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3907, allocations: 0 / 0.5415 GB, free: 6.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.391, allocations: 26.75 kB / 0.5415 GB, free: 6.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001024/0.392, allocations: 474.4 kB / 0.542 GB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3923, allocations: 75.62 kB / 0.5421 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3923, allocations: 1.062 kB / 0.5421 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3924, allocations: 43.8 kB / 0.5421 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3928, allocations: 33.84 kB / 0.5421 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.394, allocations: 0.8526 MB / 0.543 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.3944, allocations: 0.8279 MB / 0.5438 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.3944, allocations: 18.94 kB / 0.5438 GB, free: 4.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3944, allocations: 5.125 kB / 0.5438 GB, free: 4.906 MB / 398.1 MB Notification: Performance of Templates: time 0.006892/0.4013, allocations: 4.059 MB / 0.5478 GB, free: 0.9961 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches