Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 117.6 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001634/0.001634, allocations: 203.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 79.86 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4267, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003134/0.4298, allocations: 1.619 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.4309, allocations: 0.5627 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.4309, allocations: 1.375 kB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005594/0.4315, allocations: 449.3 kB / 0.5336 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.432, allocations: 291.8 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.4325, allocations: 178.8 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.4327, allocations: 177.7 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.4329, allocations: 15.77 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.433, allocations: 106.3 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.4333, allocations: 212.4 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.4333, allocations: 6.594 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.812e-05/0.4334, allocations: 31.48 kB / 0.5345 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.4335, allocations: 83.47 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.091e-05/0.4336, allocations: 99.16 kB / 0.5347 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.4339, allocations: 259.2 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.434, allocations: 0 / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.434, allocations: 0 / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.434, allocations: 1.062 kB / 0.535 GB, free: 10.95 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.0007899/0.4348, allocations: 0.6374 MB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.4348, allocations: 13.78 kB / 0.5356 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.4349, allocations: 41.88 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.4352, allocations: 300.2 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.4352, allocations: 8.297 kB / 0.5359 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.4352, allocations: 2.844 kB / 0.5359 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.4354, allocations: 60.36 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4354, allocations: 0 / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.4354, allocations: 0 / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4355, allocations: 1.25 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.4356, allocations: 36.59 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.4361, allocations: 396.7 kB / 0.5364 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.4363, allocations: 46.52 kB / 0.5364 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.4364, allocations: 24.53 kB / 0.5365 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.4364, allocations: 5.25 kB / 0.5365 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.4364, allocations: 31.66 kB / 0.5365 GB, free: 9.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4364, allocations: 0 / 0.5365 GB, free: 9.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003793/0.4368, allocations: 133.5 kB / 0.5366 GB, free: 9.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.4369, allocations: 52.34 kB / 0.5367 GB, free: 9.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009714/0.4378, allocations: 0.8632 MB / 0.5375 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4379, allocations: 30.7 kB / 0.5376 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.4381, allocations: 211.5 kB / 0.5378 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.4381, allocations: 13.61 kB / 0.5378 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.4381, allocations: 12.69 kB / 0.5378 GB, free: 8.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.4383, allocations: 363.9 kB / 0.5381 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.4384, allocations: 22.75 kB / 0.5381 GB, free: 8.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.4385, allocations: 14.3 kB / 0.5382 GB, free: 8.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.4386, allocations: 47.86 kB / 0.5382 GB, free: 8.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4386, allocations: 0 / 0.5382 GB, free: 8.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002243/0.4388, allocations: 116.3 kB / 0.5383 GB, free: 8.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4389, allocations: 4.531 kB / 0.5383 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4389, allocations: 1.219 kB / 0.5383 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4389, allocations: 0 / 0.5383 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.439, allocations: 10.83 kB / 0.5383 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.439, allocations: 5.031 kB / 0.5383 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.4391, allocations: 3.281 kB / 0.5383 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/0.4391, allocations: 1.219 kB / 0.5383 GB, free: 8.211 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 (3): * Single equations (assignments): 3 * 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.000194/0.4393, allocations: 218.2 kB / 0.5386 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.4394, allocations: 41.28 kB / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.4396, allocations: 131.1 kB / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4397, allocations: 1.312 kB / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4397, allocations: 4 kB / 0.5387 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4397, allocations: 4.031 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.44, allocations: 295.1 kB / 0.539 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.44, allocations: 0 / 0.539 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.999e-05/0.4401, allocations: 11.14 kB / 0.539 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4401, allocations: 3.938 kB / 0.539 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.4401, allocations: 5.438 kB / 0.539 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4401, allocations: 0 / 0.539 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4401, allocations: 0 / 0.539 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.4404, allocations: 212.1 kB / 0.5392 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.4405, allocations: 113.1 kB / 0.5393 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.4405, allocations: 5.469 kB / 0.5393 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.4406, allocations: 2.875 kB / 0.5393 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.4406, allocations: 1.5 kB / 0.5393 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.4406, allocations: 0 / 0.5393 GB, free: 7.355 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006865/0.4413, allocations: 0.6564 MB / 0.54 GB, free: 7.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.4413, allocations: 5.062 kB / 0.54 GB, free: 7.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.4416, allocations: 19.56 kB / 0.54 GB, free: 7.027 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 (3): * Single equations (assignments): 3 * 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.0007987/0.4424, allocations: 333.6 kB / 0.5403 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.4426, allocations: 48.16 kB / 0.5404 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4427, allocations: 1.25 kB / 0.5404 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.4427, allocations: 28.84 kB / 0.5404 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.4431, allocations: 39.98 kB / 0.5404 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.4443, allocations: 0.7894 MB / 0.5412 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.445, allocations: 0.8277 MB / 0.542 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.075e-05/0.445, allocations: 17.02 kB / 0.542 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.4451, allocations: 14.69 kB / 0.5421 GB, free: 5.594 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4451, allocations: 0 / 0.5421 GB, free: 5.594 MB / 398.1 MB Notification: Performance of Templates: time 0.006382/0.4515, allocations: 1.289 MB / 0.5433 GB, free: 4.891 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches