Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001441, allocations: 117.6 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.001586/0.001587, allocations: 199.9 kB / 18.73 MB, free: 4.324 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.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4558, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003335/0.4592, allocations: 1.679 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.4603, allocations: 0.577 MB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.4603, allocations: 3.938 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.4606, allocations: 51.05 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.461, allocations: 93.84 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.4614, allocations: 177.8 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.4616, allocations: 84.89 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.4617, allocations: 30.86 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.4618, allocations: 33.52 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.72e-05/0.4619, allocations: 49.38 kB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.4619, allocations: 4.625 kB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.462, allocations: 48.77 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.4621, allocations: 24.25 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.4621, allocations: 34.75 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.4623, allocations: 110.4 kB / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4623, allocations: 0 / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4623, allocations: 0 / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.4623, allocations: 0 / 0.5339 GB, free: 11.39 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.0005607/0.4629, allocations: 419.8 kB / 0.5343 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4629, allocations: 8.812 kB / 0.5343 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.463, allocations: 9.344 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.4632, allocations: 203.2 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-06/0.4632, allocations: 5.531 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.4632, allocations: 7.812 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.4634, allocations: 69.03 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4634, allocations: 0 / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.4634, allocations: 5.188 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4634, allocations: 1.156 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.4636, allocations: 48.83 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.464, allocations: 318.7 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.4643, allocations: 68.55 kB / 0.535 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.4643, allocations: 26.22 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.4644, allocations: 1.094 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.4644, allocations: 31.69 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.4644, allocations: 0 / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0015/0.4659, allocations: 421.1 kB / 0.5355 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.466, allocations: 61.44 kB / 0.5356 GB, free: 9.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.4661, allocations: 175.9 kB / 0.5357 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4662, allocations: 29.7 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.4662, allocations: 100.7 kB / 0.5359 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.4663, allocations: 36.27 kB / 0.5359 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.4663, allocations: 29.66 kB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4665, allocations: 322.8 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.4666, allocations: 56.92 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.4667, allocations: 53.23 kB / 0.5363 GB, free: 9.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.467, allocations: 127.7 kB / 0.5365 GB, free: 9.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.467, allocations: 1.062 kB / 0.5365 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003416/0.4674, allocations: 163.6 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4674, allocations: 5.594 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.4674, allocations: 4 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.4675, allocations: 1.281 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4676, allocations: 32.08 kB / 0.5367 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4676, allocations: 5.094 kB / 0.5367 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.4677, allocations: 13.95 kB / 0.5367 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.4677, allocations: 6.156 kB / 0.5367 GB, free: 9.051 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.0001043/0.4678, allocations: 123.8 kB / 0.5368 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.4678, allocations: 13 kB / 0.5368 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/0.4683, allocations: 201.6 kB / 0.537 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4683, allocations: 10.06 kB / 0.537 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4683, allocations: 0 / 0.537 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4683, allocations: 0 / 0.537 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007171/0.4691, allocations: 0.4927 MB / 0.5375 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4691, allocations: 5.344 kB / 0.5375 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.4692, allocations: 28.09 kB / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4692, allocations: 1.188 kB / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.4692, allocations: 2.312 kB / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4692, allocations: 1.094 kB / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4692, allocations: 1.125 kB / 0.5375 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.4697, allocations: 276.5 kB / 0.5378 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.4697, allocations: 84.58 kB / 0.5379 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.4698, allocations: 10.25 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.4699, allocations: 10.52 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.4699, allocations: 7.828 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.47, allocations: 7.562 kB / 0.5379 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.4701, allocations: 136.9 kB / 0.538 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4701, allocations: 0 / 0.538 GB, free: 7.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.4704, allocations: 31.42 kB / 0.5381 GB, free: 7.887 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.001127/0.4715, allocations: 462.7 kB / 0.5385 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.4719, allocations: 128.6 kB / 0.5386 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.472, allocations: 0 / 0.5386 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.4721, allocations: 71.27 kB / 0.5387 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.4725, allocations: 28.42 kB / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.4732, allocations: 302 kB / 0.539 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.4735, allocations: 0.7151 MB / 0.5397 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.671e-05/0.4737, allocations: 34.95 kB / 0.5397 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.526e-05/0.4737, allocations: 15.38 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4737, allocations: 0 / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of Templates: time 0.00471/0.4784, allocations: 1.644 MB / 0.5414 GB, free: 5.734 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches