Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 75.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4112, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003018/0.4143, allocations: 1.658 MB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.4154, allocations: 0.5778 MB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.4155, allocations: 1.125 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.4161, allocations: 453 kB / 0.5343 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004923/0.4166, allocations: 297 kB / 0.5346 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.4171, allocations: 184.7 kB / 0.5348 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.4173, allocations: 172.8 kB / 0.5349 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.4174, allocations: 21.69 kB / 0.5349 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.4176, allocations: 119.3 kB / 0.5351 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.4179, allocations: 213 kB / 0.5353 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.4179, allocations: 3.25 kB / 0.5353 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.904e-05/0.418, allocations: 33.83 kB / 0.5353 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.4181, allocations: 86.91 kB / 0.5354 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.974e-05/0.4182, allocations: 107.3 kB / 0.5355 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.4185, allocations: 264.2 kB / 0.5357 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4186, allocations: 3.938 kB / 0.5357 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4186, allocations: 4 kB / 0.5357 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.4186, allocations: 1.594 kB / 0.5357 GB, free: 10.87 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.0007747/0.4194, allocations: 0.6422 MB / 0.5364 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4194, allocations: 10.81 kB / 0.5364 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.4195, allocations: 42.66 kB / 0.5364 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.4198, allocations: 302.6 kB / 0.5367 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.4198, allocations: 5.906 kB / 0.5367 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.4198, allocations: 3.469 kB / 0.5367 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.42, allocations: 71.03 kB / 0.5368 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.42, allocations: 0 / 0.5368 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4201, allocations: 0 / 0.5368 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4201, allocations: 1.219 kB / 0.5368 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.4202, allocations: 47 kB / 0.5368 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.4208, allocations: 397.3 kB / 0.5372 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.4209, allocations: 56.91 kB / 0.5373 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.421, allocations: 25.25 kB / 0.5373 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.421, allocations: 1.156 kB / 0.5373 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4211, allocations: 31.72 kB / 0.5373 GB, free: 9.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4211, allocations: 0 / 0.5373 GB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008871/0.422, allocations: 318.2 kB / 0.5376 GB, free: 9.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.422, allocations: 56.38 kB / 0.5377 GB, free: 9.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009441/0.423, allocations: 0.8636 MB / 0.5385 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.423, allocations: 26.73 kB / 0.5385 GB, free: 8.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.4232, allocations: 219.3 kB / 0.5387 GB, free: 8.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.4232, allocations: 30.61 kB / 0.5388 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.4233, allocations: 19.5 kB / 0.5388 GB, free: 8.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4235, allocations: 368.1 kB / 0.5391 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4236, allocations: 33.47 kB / 0.5392 GB, free: 8.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.4237, allocations: 42.19 kB / 0.5392 GB, free: 8.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.4239, allocations: 90.86 kB / 0.5393 GB, free: 8.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4239, allocations: 0 / 0.5393 GB, free: 8.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003206/0.4243, allocations: 151 kB / 0.5394 GB, free: 7.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4243, allocations: 4.812 kB / 0.5395 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4243, allocations: 1.281 kB / 0.5395 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4243, allocations: 4 kB / 0.5395 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.4245, allocations: 19.83 kB / 0.5395 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4245, allocations: 7.922 kB / 0.5395 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.4246, allocations: 9.438 kB / 0.5395 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.4246, allocations: 10.16 kB / 0.5395 GB, free: 7.922 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 0.000217/0.4248, allocations: 220 kB / 0.5397 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.4249, allocations: 41.75 kB / 0.5398 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.4253, allocations: 187 kB / 0.5399 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4253, allocations: 1.875 kB / 0.5399 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4253, allocations: 0 / 0.5399 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4253, allocations: 3.938 kB / 0.5399 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007205/0.4261, allocations: 0.514 MB / 0.5404 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4261, allocations: 0 / 0.5404 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.4262, allocations: 19.3 kB / 0.5405 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4262, allocations: 0 / 0.5405 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4262, allocations: 5.094 kB / 0.5405 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4262, allocations: 1.031 kB / 0.5405 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.4262, allocations: 0 / 0.5405 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.4266, allocations: 266.7 kB / 0.5407 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.4267, allocations: 109.8 kB / 0.5408 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.4267, allocations: 9.484 kB / 0.5408 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4268, allocations: 9.5 kB / 0.5408 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.4269, allocations: 6.391 kB / 0.5408 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.4269, allocations: 2.5 kB / 0.5408 GB, free: 6.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006733/0.4276, allocations: 0.6521 MB / 0.5415 GB, free: 6.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4276, allocations: 4 kB / 0.5415 GB, free: 6.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.4279, allocations: 29.59 kB / 0.5415 GB, free: 6.512 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.0009721/0.4289, allocations: 389.5 kB / 0.5419 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.4292, allocations: 92.58 kB / 0.542 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4292, allocations: 1.219 kB / 0.542 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.4293, allocations: 55.73 kB / 0.542 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.4298, allocations: 32.88 kB / 0.5421 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.4311, allocations: 0.8493 MB / 0.5429 GB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.4315, allocations: 0.8343 MB / 0.5437 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.4316, allocations: 20.89 kB / 0.5437 GB, free: 4.98 MB / 398.1 MB Notification: Performance of SimCode: time 1.904e-06/0.4316, allocations: 5.406 kB / 0.5437 GB, free: 4.977 MB / 398.1 MB Notification: Performance of Templates: time 0.007192/0.4388, allocations: 3.933 MB / 0.5476 GB, free: 1.18 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches