Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.9 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.2349/0.2349, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 75.88 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4016, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003312/0.405, allocations: 1.66 MB / 0.5326 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.4067, allocations: 1.171 MB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.4068, allocations: 4 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.407, allocations: 16.17 kB / 0.5338 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.4073, allocations: 89.67 kB / 0.5339 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.4077, allocations: 141.3 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.4079, allocations: 68.77 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.408, allocations: 16.22 kB / 0.5341 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.021e-05/0.4081, allocations: 38.31 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.4082, allocations: 35.94 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.4083, allocations: 8.203 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.4084, allocations: 92.56 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.225e-05/0.4085, allocations: 25.47 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.4086, allocations: 25.38 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.4089, allocations: 143.8 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4089, allocations: 0 / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4089, allocations: 4 kB / 0.5345 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.4089, allocations: 1.125 kB / 0.5345 GB, free: 10.92 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.0006349/0.4095, allocations: 405.4 kB / 0.5348 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4096, allocations: 13.78 kB / 0.5349 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.4096, allocations: 8.156 kB / 0.5349 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.4099, allocations: 197.6 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.4099, allocations: 1.75 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.4099, allocations: 6.641 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.4102, allocations: 80.52 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4102, allocations: 1.375 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4102, allocations: 0 / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4102, allocations: 1.375 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.4104, allocations: 40.53 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.4108, allocations: 294.7 kB / 0.5355 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.4109, allocations: 47.05 kB / 0.5355 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.411, allocations: 23.94 kB / 0.5355 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.411, allocations: 5.375 kB / 0.5355 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.411, allocations: 31.94 kB / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.411, allocations: 3.938 kB / 0.5356 GB, free: 9.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008355/0.4119, allocations: 203.5 kB / 0.5358 GB, free: 9.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.412, allocations: 82.39 kB / 0.5358 GB, free: 9.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.4122, allocations: 151.5 kB / 0.536 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.4122, allocations: 33.7 kB / 0.536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.4123, allocations: 87.89 kB / 0.5361 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.4123, allocations: 30.52 kB / 0.5361 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.4124, allocations: 20.28 kB / 0.5362 GB, free: 9.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4125, allocations: 320.3 kB / 0.5365 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.4126, allocations: 30.94 kB / 0.5365 GB, free: 8.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.4128, allocations: 50.09 kB / 0.5365 GB, free: 8.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.413, allocations: 73.09 kB / 0.5366 GB, free: 8.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.413, allocations: 0 / 0.5366 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003034/0.4133, allocations: 114.3 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4134, allocations: 9.562 kB / 0.5367 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4134, allocations: 3.984 kB / 0.5367 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4134, allocations: 1.156 kB / 0.5367 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.4135, allocations: 19.58 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4136, allocations: 0 / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.4136, allocations: 17.73 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.4136, allocations: 2.062 kB / 0.5368 GB, free: 8.762 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 (7): * Single equations (assignments): 7 * 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 9.698e-05/0.4137, allocations: 115.1 kB / 0.5369 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.4138, allocations: 11.78 kB / 0.5369 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.4142, allocations: 127.7 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4142, allocations: 1 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4142, allocations: 3.984 kB / 0.537 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.4142, allocations: 16.98 kB / 0.537 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.4148, allocations: 395 kB / 0.5374 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4148, allocations: 1.125 kB / 0.5374 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.392e-05/0.4149, allocations: 22.52 kB / 0.5374 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4149, allocations: 0 / 0.5374 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4149, allocations: 5.062 kB / 0.5374 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4149, allocations: 1.125 kB / 0.5374 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4149, allocations: 0 / 0.5374 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.4153, allocations: 214.7 kB / 0.5376 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.4154, allocations: 86.34 kB / 0.5377 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4154, allocations: 5.281 kB / 0.5377 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.4155, allocations: 9.984 kB / 0.5377 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.4156, allocations: 3.219 kB / 0.5377 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.4156, allocations: 1.875 kB / 0.5377 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.082e-05/0.4157, allocations: 124.3 kB / 0.5379 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4157, allocations: 0 / 0.5379 GB, free: 7.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.416, allocations: 45.98 kB / 0.5379 GB, free: 7.734 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 (7): * Single equations (assignments): 7 * 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.001082/0.4171, allocations: 479.9 kB / 0.5384 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.4174, allocations: 78.83 kB / 0.5384 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4174, allocations: 3.938 kB / 0.5384 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.4176, allocations: 49.81 kB / 0.5385 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.4179, allocations: 18.52 kB / 0.5385 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.4184, allocations: 201.9 kB / 0.5387 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.4186, allocations: 0.6956 MB / 0.5394 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.412e-05/0.4187, allocations: 15.95 kB / 0.5394 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.4188, allocations: 19.33 kB / 0.5394 GB, free: 6.535 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4188, allocations: 0 / 0.5394 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Templates: time 0.004568/0.4233, allocations: 1.921 MB / 0.5413 GB, free: 5.531 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches