Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002457/0.002457, allocations: 202 kB / 18.73 MB, free: 4.32 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 / 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.2444/0.2444, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 80.08 kB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4132, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003347/0.4166, allocations: 1.671 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.4177, allocations: 0.5536 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.623e-05/0.4179, allocations: 1.188 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.4182, allocations: 58.14 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.4186, allocations: 102 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.4191, allocations: 134.7 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.4193, allocations: 83.5 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.4195, allocations: 24.47 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.303e-05/0.4196, allocations: 38.95 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.4197, allocations: 45.84 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.4198, allocations: 4.125 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.42, allocations: 59.52 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.4201, allocations: 21.55 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.4202, allocations: 33.25 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.4205, allocations: 106.2 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4205, allocations: 0 / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.4205, allocations: 5.375 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.4206, allocations: 3.938 kB / 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.0006493/0.4212, allocations: 416.3 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4213, allocations: 9.625 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.4213, allocations: 16.81 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.4216, allocations: 203 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.4216, allocations: 5.688 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.4216, allocations: 7.125 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.4218, allocations: 71.66 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.4219, allocations: 1.375 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4219, allocations: 3.984 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.4219, allocations: 1.375 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.4221, allocations: 41.91 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.4226, allocations: 303 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.4228, allocations: 62.39 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.4229, allocations: 25.41 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.423, allocations: 0 / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.423, allocations: 31.72 kB / 0.535 GB, free: 10.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.423, allocations: 0 / 0.535 GB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001557/0.4246, allocations: 394.4 kB / 0.5354 GB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4246, allocations: 56.5 kB / 0.5355 GB, free: 10 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.4248, allocations: 189.5 kB / 0.5356 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.4249, allocations: 30.77 kB / 0.5357 GB, free: 9.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.425, allocations: 113.7 kB / 0.5358 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.425, allocations: 40.08 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.4251, allocations: 20.53 kB / 0.5358 GB, free: 9.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4253, allocations: 326.2 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.4254, allocations: 39.81 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.4256, allocations: 47.88 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.4258, allocations: 100.6 kB / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4258, allocations: 0 / 0.5363 GB, free: 9.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003919/0.4262, allocations: 142.6 kB / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4263, allocations: 5 kB / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4263, allocations: 0 / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.4263, allocations: 1.281 kB / 0.5365 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.4265, allocations: 41.28 kB / 0.5365 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.4265, allocations: 0 / 0.5365 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.37e-05/0.4266, allocations: 9.516 kB / 0.5365 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.4266, allocations: 2.688 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.0001395/0.4267, allocations: 124 kB / 0.5366 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.4268, allocations: 17.2 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.4272, allocations: 174.1 kB / 0.5368 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4272, allocations: 9.25 kB / 0.5368 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4272, allocations: 1.25 kB / 0.5368 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4273, allocations: 0 / 0.5368 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.428, allocations: 472 kB / 0.5373 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.428, allocations: 0 / 0.5373 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.4281, allocations: 28.62 kB / 0.5373 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.4281, allocations: 1.219 kB / 0.5373 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4281, allocations: 6.188 kB / 0.5373 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.4281, allocations: 2.094 kB / 0.5373 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4281, allocations: 0 / 0.5373 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.4286, allocations: 259.8 kB / 0.5376 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.4286, allocations: 85.42 kB / 0.5377 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.4287, allocations: 5.062 kB / 0.5377 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.4288, allocations: 10.42 kB / 0.5377 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.4288, allocations: 16.3 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.4289, allocations: 3.281 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.429, allocations: 150.7 kB / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.429, allocations: 0 / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000274/0.4293, allocations: 26.56 kB / 0.5379 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.001112/0.4304, allocations: 465.2 kB / 0.5383 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.4307, allocations: 106.3 kB / 0.5384 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4308, allocations: 0 / 0.5384 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.4309, allocations: 63.72 kB / 0.5385 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.4314, allocations: 26.44 kB / 0.5385 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.4321, allocations: 295 kB / 0.5388 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.4324, allocations: 0.7133 MB / 0.5395 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.084e-05/0.4324, allocations: 17.25 kB / 0.5395 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.4325, allocations: 15.5 kB / 0.5395 GB, free: 6.727 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4325, allocations: 0 / 0.5395 GB, free: 6.727 MB / 398.1 MB Notification: Performance of Templates: time 0.005023/0.4375, allocations: 1.562 MB / 0.541 GB, free: 5.93 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches