Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 206 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247.6 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.2238/0.2238, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 76.11 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3645, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.00362/0.3682, allocations: 1.6 MB / 0.5332 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3695, allocations: 0.5233 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.3696, allocations: 1.375 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.3699, allocations: 30.7 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.3703, allocations: 76.94 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.3706, allocations: 94.16 kB / 0.5339 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3708, allocations: 62.94 kB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.371, allocations: 17.09 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.371, allocations: 21.06 kB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.3711, allocations: 21.58 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3711, allocations: 7.344 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.3712, allocations: 35.94 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.3713, allocations: 20.94 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.3714, allocations: 29.17 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.3716, allocations: 81.28 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3716, allocations: 1.375 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3716, allocations: 3.938 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3716, allocations: 0 / 0.5342 GB, free: 11.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000628/0.3722, allocations: 388.5 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.3723, allocations: 8.969 kB / 0.5346 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.3724, allocations: 9.344 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3726, allocations: 200.9 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3726, allocations: 1.469 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.3727, allocations: 13.38 kB / 0.5348 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3728, allocations: 48.89 kB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3729, allocations: 0 / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3729, allocations: 0 / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3729, allocations: 1.469 kB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.72e-05/0.373, allocations: 20.92 kB / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.3734, allocations: 277.2 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.3737, allocations: 47.38 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.3738, allocations: 15.22 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3738, allocations: 1.406 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3738, allocations: 30.56 kB / 0.5353 GB, free: 10.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3738, allocations: 4 kB / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006329/0.3745, allocations: 155 kB / 0.5354 GB, free: 10.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.3745, allocations: 52.56 kB / 0.5355 GB, free: 10.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3748, allocations: 180 kB / 0.5356 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3748, allocations: 25.7 kB / 0.5356 GB, free: 10.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.3749, allocations: 104.3 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.3749, allocations: 14.25 kB / 0.5358 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.375, allocations: 21.66 kB / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3751, allocations: 321.3 kB / 0.5361 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/0.3752, allocations: 19.48 kB / 0.5361 GB, free: 9.727 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.3752, allocations: 19.11 kB / 0.5361 GB, free: 9.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3754, allocations: 52.14 kB / 0.5362 GB, free: 9.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3754, allocations: 4 kB / 0.5362 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001751/0.3756, allocations: 81.2 kB / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3756, allocations: 4.125 kB / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3756, allocations: 1.422 kB / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.3756, allocations: 3.984 kB / 0.5363 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.3757, allocations: 13.61 kB / 0.5363 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3757, allocations: 5.312 kB / 0.5363 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.3758, allocations: 14.61 kB / 0.5363 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.3758, allocations: 5.375 kB / 0.5363 GB, free: 9.602 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 (5): * Single equations (assignments): 5 * 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 8.988e-05/0.3759, allocations: 120.7 kB / 0.5364 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.3759, allocations: 8.031 kB / 0.5364 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.3761, allocations: 98.94 kB / 0.5365 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3762, allocations: 0 / 0.5365 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3762, allocations: 0 / 0.5365 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3762, allocations: 5.312 kB / 0.5365 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.3766, allocations: 347.9 kB / 0.5369 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3766, allocations: 1.375 kB / 0.5369 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/0.3767, allocations: 12.23 kB / 0.5369 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3767, allocations: 1.375 kB / 0.5369 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3767, allocations: 5.5 kB / 0.5369 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.3767, allocations: 4 kB / 0.5369 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3767, allocations: 0 / 0.5369 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.3769, allocations: 183.9 kB / 0.5371 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.377, allocations: 83.67 kB / 0.5371 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.377, allocations: 5.219 kB / 0.5371 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.3771, allocations: 10.58 kB / 0.5372 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.3771, allocations: 2.906 kB / 0.5372 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.3771, allocations: 5.156 kB / 0.5372 GB, free: 8.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.3772, allocations: 128.8 kB / 0.5373 GB, free: 8.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3773, allocations: 4 kB / 0.5373 GB, free: 8.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3775, allocations: 18.89 kB / 0.5373 GB, free: 8.656 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 (5): * Single equations (assignments): 5 * 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.0009604/0.3785, allocations: 395.5 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.3787, allocations: 43.81 kB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3787, allocations: 0 / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.3788, allocations: 27.11 kB / 0.5377 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3792, allocations: 25.48 kB / 0.5378 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.3797, allocations: 224.4 kB / 0.538 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.38, allocations: 0.6967 MB / 0.5387 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.38, allocations: 12.78 kB / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.38, allocations: 0 / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of Templates: time 0.003661/0.3837, allocations: 1.465 MB / 0.5401 GB, free: 6.742 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches