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.001116/0.001116, allocations: 112.4 kB / 18.45 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.001105/0.001105, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2461/0.2461, allocations: 46.11 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 76.09 kB / 482 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3936, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003213/0.3968, allocations: 1.668 MB / 0.5333 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.398, allocations: 0.5825 MB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.3981, allocations: 1.5 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.3987, allocations: 456.9 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004761/0.3992, allocations: 295.6 kB / 0.5346 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.3997, allocations: 174.4 kB / 0.5348 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.4, allocations: 175 kB / 0.5349 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.4001, allocations: 22.91 kB / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.4003, allocations: 115.5 kB / 0.5351 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.4006, allocations: 211.9 kB / 0.5353 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.4006, allocations: 3.125 kB / 0.5353 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.4007, allocations: 61.36 kB / 0.5353 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.4008, allocations: 78.89 kB / 0.5354 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.448e-05/0.4009, allocations: 107.6 kB / 0.5355 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.4013, allocations: 276 kB / 0.5358 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4013, allocations: 0.9688 kB / 0.5358 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4013, allocations: 0 / 0.5358 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.4013, allocations: 0 / 0.5358 GB, free: 10.83 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.0007725/0.4021, allocations: 0.6532 MB / 0.5364 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4022, allocations: 9.531 kB / 0.5364 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.4022, allocations: 44 kB / 0.5365 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.4026, allocations: 299.6 kB / 0.5368 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.4026, allocations: 9.375 kB / 0.5368 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.4026, allocations: 4.094 kB / 0.5368 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.4028, allocations: 65.38 kB / 0.5368 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4028, allocations: 5.062 kB / 0.5368 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4028, allocations: 8 kB / 0.5368 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4028, allocations: 5.109 kB / 0.5368 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.403, allocations: 27.52 kB / 0.5369 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.4035, allocations: 408.5 kB / 0.5373 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.4037, allocations: 44.72 kB / 0.5373 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.4037, allocations: 28.88 kB / 0.5373 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.4038, allocations: 1.156 kB / 0.5373 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.4038, allocations: 31.72 kB / 0.5374 GB, free: 9.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4038, allocations: 0 / 0.5374 GB, free: 9.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001033/0.4048, allocations: 331 kB / 0.5377 GB, free: 9.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.4049, allocations: 56.53 kB / 0.5377 GB, free: 9.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009321/0.4058, allocations: 0.8673 MB / 0.5386 GB, free: 8.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.4059, allocations: 29.7 kB / 0.5386 GB, free: 8.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.406, allocations: 221.9 kB / 0.5388 GB, free: 8.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.4061, allocations: 27.12 kB / 0.5388 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.4061, allocations: 24.42 kB / 0.5389 GB, free: 8.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4063, allocations: 368.6 kB / 0.5392 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-05/0.4064, allocations: 32.41 kB / 0.5393 GB, free: 8.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.258e-05/0.4065, allocations: 32.91 kB / 0.5393 GB, free: 8.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4067, allocations: 74.45 kB / 0.5394 GB, free: 7.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4067, allocations: 1.125 kB / 0.5394 GB, free: 7.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002797/0.407, allocations: 143.6 kB / 0.5395 GB, free: 7.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.407, allocations: 8.656 kB / 0.5395 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.407, allocations: 1.125 kB / 0.5395 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4071, allocations: 3.984 kB / 0.5395 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.4072, allocations: 18.56 kB / 0.5395 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4072, allocations: 3.938 kB / 0.5395 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/0.4072, allocations: 11.36 kB / 0.5395 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.4073, allocations: 2.406 kB / 0.5395 GB, free: 7.871 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.0002169/0.4075, allocations: 219 kB / 0.5398 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.4076, allocations: 43.66 kB / 0.5398 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.4079, allocations: 174.5 kB / 0.54 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4079, allocations: 1.5 kB / 0.54 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.408, allocations: 3.938 kB / 0.54 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.408, allocations: 0 / 0.54 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.4087, allocations: 0.5118 MB / 0.5405 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4087, allocations: 5.094 kB / 0.5405 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.33e-05/0.4088, allocations: 22.05 kB / 0.5405 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4088, allocations: 0 / 0.5405 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4088, allocations: 6.188 kB / 0.5405 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4088, allocations: 5 kB / 0.5405 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4088, allocations: 4.453 kB / 0.5405 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.4091, allocations: 248.1 kB / 0.5407 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.4092, allocations: 114 kB / 0.5409 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.4093, allocations: 1.125 kB / 0.5409 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.4094, allocations: 7.516 kB / 0.5409 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.4094, allocations: 7.703 kB / 0.5409 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.4094, allocations: 7.5 kB / 0.5409 GB, free: 6.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007497/0.4102, allocations: 0.6573 MB / 0.5415 GB, free: 6.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4102, allocations: 9.375 kB / 0.5415 GB, free: 6.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.4105, allocations: 26.41 kB / 0.5415 GB, free: 6.449 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.001116/0.4116, allocations: 459.3 kB / 0.542 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.4119, allocations: 85.02 kB / 0.5421 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4119, allocations: 0 / 0.5421 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.412, allocations: 41.08 kB / 0.5421 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.4124, allocations: 30.36 kB / 0.5421 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.4138, allocations: 0.8542 MB / 0.543 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.4143, allocations: 0.8362 MB / 0.5438 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.4143, allocations: 19.03 kB / 0.5438 GB, free: 4.883 MB / 398.1 MB Notification: Performance of SimCode: time 2.144e-06/0.4143, allocations: 0 / 0.5438 GB, free: 4.883 MB / 398.1 MB Notification: Performance of Templates: time 0.007237/0.4216, allocations: 4.057 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