Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00322/0.003221, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2648/0.2648, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 80.08 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4185, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003293/0.4218, allocations: 1.677 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.4229, allocations: 0.5455 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.423, allocations: 1.375 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.4233, allocations: 68.53 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.4237, allocations: 97.95 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.4241, allocations: 129.4 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.4243, allocations: 87.5 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.4244, allocations: 21.84 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.191e-05/0.4245, allocations: 38.97 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.4246, allocations: 49.81 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.4247, allocations: 4.125 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.4248, allocations: 51.86 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.4249, allocations: 24.42 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.4249, allocations: 33.98 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.4252, allocations: 110.2 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4252, allocations: 0 / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4252, allocations: 0 / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.4252, allocations: 0 / 0.5339 GB, free: 11.43 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.0007233/0.426, allocations: 428.5 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.426, allocations: 9.281 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.4261, allocations: 13.91 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.4263, allocations: 197.4 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.4263, allocations: 6 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.4264, allocations: 6.75 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.4266, allocations: 67.14 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4266, allocations: 5.219 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4266, allocations: 4 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4266, allocations: 1.312 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.4268, allocations: 38.27 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.4272, allocations: 301.6 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.4275, allocations: 59.58 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.4276, allocations: 24.34 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.4277, allocations: 5.078 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4277, allocations: 35.81 kB / 0.535 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.4277, allocations: 4 kB / 0.535 GB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001658/0.4294, allocations: 385.8 kB / 0.5354 GB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.4294, allocations: 60.66 kB / 0.5355 GB, free: 10 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.4297, allocations: 190.5 kB / 0.5356 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.4297, allocations: 25.7 kB / 0.5357 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.4298, allocations: 113.7 kB / 0.5358 GB, free: 9.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.4298, allocations: 35.39 kB / 0.5358 GB, free: 9.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.4299, allocations: 25.59 kB / 0.5358 GB, free: 9.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.43, allocations: 327 kB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.4302, allocations: 38.06 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.4303, allocations: 45.27 kB / 0.5362 GB, free: 9.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.4306, allocations: 103.5 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4306, allocations: 0 / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003719/0.431, allocations: 146.7 kB / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.431, allocations: 4.531 kB / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.431, allocations: 1.094 kB / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.4311, allocations: 4 kB / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.4312, allocations: 36.41 kB / 0.5365 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.4312, allocations: 1.125 kB / 0.5365 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.4313, allocations: 10.33 kB / 0.5365 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.4313, allocations: 2.25 kB / 0.5365 GB, free: 9.141 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 (11): * Single equations (assignments): 11 * 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.0001151/0.4314, allocations: 123.4 kB / 0.5366 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.4315, allocations: 13.19 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.4319, allocations: 170.4 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4319, allocations: 5.094 kB / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4319, allocations: 0 / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.4319, allocations: 1.125 kB / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007568/0.4327, allocations: 482.4 kB / 0.5373 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4327, allocations: 1.188 kB / 0.5373 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.4328, allocations: 28.31 kB / 0.5373 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.4329, allocations: 1 kB / 0.5373 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.4329, allocations: 2.125 kB / 0.5373 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.4329, allocations: 2.156 kB / 0.5373 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4329, allocations: 192 / 0.5373 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.4333, allocations: 255.4 kB / 0.5376 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.4333, allocations: 88.77 kB / 0.5376 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.4334, allocations: 9.5 kB / 0.5377 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4335, allocations: 14.67 kB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.4335, allocations: 8.516 kB / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.4336, allocations: 3.438 kB / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.4337, allocations: 143.6 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4337, allocations: 3.938 kB / 0.5378 GB, free: 8.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.434, allocations: 30.55 kB / 0.5378 GB, free: 8.008 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001144/0.4352, allocations: 453.4 kB / 0.5383 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.4356, allocations: 110.3 kB / 0.5384 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4356, allocations: 0 / 0.5384 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.4357, allocations: 59.28 kB / 0.5384 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.4363, allocations: 23.2 kB / 0.5385 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.4373, allocations: 284.4 kB / 0.5387 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.4376, allocations: 0.7179 MB / 0.5394 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.503e-05/0.4377, allocations: 16.66 kB / 0.5395 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.4378, allocations: 15.34 kB / 0.5395 GB, free: 6.734 MB / 398.1 MB Notification: Performance of SimCode: time 1.422e-06/0.4378, allocations: 4 kB / 0.5395 GB, free: 6.73 MB / 398.1 MB Notification: Performance of Templates: time 0.005676/0.4435, allocations: 1.559 MB / 0.541 GB, free: 5.938 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches