Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, 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.001299/0.001299, allocations: 204.7 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.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 76.16 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4453, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.004367/0.4497, allocations: 1.668 MB / 0.5326 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.4522, allocations: 1.196 MB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.734e-05/0.4523, allocations: 1.5 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.4527, allocations: 36 kB / 0.5338 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004269/0.4531, allocations: 77.56 kB / 0.5339 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.4537, allocations: 181 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.4539, allocations: 79.39 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.4541, allocations: 17 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.4543, allocations: 40.39 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.4545, allocations: 31.89 kB / 0.5342 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.4545, allocations: 5.125 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.4548, allocations: 105 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.379e-05/0.4549, allocations: 25.41 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.455, allocations: 29.31 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.4553, allocations: 154.6 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4554, allocations: 0 / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4554, allocations: 0 / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.4554, allocations: 0 / 0.5346 GB, free: 10.85 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008078/0.4562, allocations: 415 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.4563, allocations: 9.625 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.4563, allocations: 8.969 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.4566, allocations: 189.8 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.4567, allocations: 9.75 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.4567, allocations: 3.125 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.457, allocations: 82.69 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.457, allocations: 1.375 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.457, allocations: 0 / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.457, allocations: 1.375 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.4572, allocations: 37.97 kB / 0.5353 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.4577, allocations: 317.7 kB / 0.5356 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.4579, allocations: 45.75 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.086e-05/0.4579, allocations: 28.92 kB / 0.5357 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.458, allocations: 1.469 kB / 0.5357 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.458, allocations: 38.56 kB / 0.5357 GB, free: 9.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.458, allocations: 1.469 kB / 0.5357 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001039/0.4591, allocations: 225.2 kB / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.4591, allocations: 82.14 kB / 0.536 GB, free: 9.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.4593, allocations: 157.1 kB / 0.5361 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.4594, allocations: 25.7 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.4594, allocations: 95.55 kB / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.4595, allocations: 27.61 kB / 0.5363 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.4595, allocations: 20.03 kB / 0.5363 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4597, allocations: 324.9 kB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.4598, allocations: 36.66 kB / 0.5366 GB, free: 8.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.46, allocations: 58.83 kB / 0.5367 GB, free: 8.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.4602, allocations: 91.02 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4602, allocations: 0 / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003242/0.4606, allocations: 129.1 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4606, allocations: 4.531 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4606, allocations: 0 / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4606, allocations: 1.125 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.4608, allocations: 23.05 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4608, allocations: 1.156 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.4609, allocations: 13.48 kB / 0.5369 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4609, allocations: 6.531 kB / 0.537 GB, free: 8.641 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 (7): * Single equations (assignments): 7 * 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.0001116/0.461, allocations: 127.1 kB / 0.5371 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.4611, allocations: 8.406 kB / 0.5371 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.4615, allocations: 137.9 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4615, allocations: 1.188 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4615, allocations: 1.062 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4615, allocations: 7.938 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007127/0.4622, allocations: 414.7 kB / 0.5376 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4623, allocations: 0 / 0.5376 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.023e-05/0.4624, allocations: 18.61 kB / 0.5376 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4624, allocations: 1.281 kB / 0.5376 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-05/0.4625, allocations: 8.891 kB / 0.5376 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.4625, allocations: 8 kB / 0.5377 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4625, allocations: 1.125 kB / 0.5377 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.4629, allocations: 227 kB / 0.5379 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.463, allocations: 84.17 kB / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.4631, allocations: 5.25 kB / 0.538 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.4632, allocations: 17.23 kB / 0.538 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.4633, allocations: 3.156 kB / 0.538 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.4633, allocations: 6.109 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.4635, allocations: 114.6 kB / 0.5381 GB, free: 7.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4635, allocations: 0 / 0.5381 GB, free: 7.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003587/0.4638, allocations: 39.17 kB / 0.5381 GB, free: 7.598 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 (7): * Single equations (assignments): 7 * 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.001375/0.4652, allocations: 481.7 kB / 0.5386 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003848/0.4656, allocations: 100.6 kB / 0.5387 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4656, allocations: 5.281 kB / 0.5387 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.4658, allocations: 51.33 kB / 0.5387 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.4662, allocations: 22.67 kB / 0.5388 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.467, allocations: 222.2 kB / 0.539 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.4675, allocations: 0.6989 MB / 0.5397 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.4677, allocations: 22.77 kB / 0.5397 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.4677, allocations: 18.8 kB / 0.5397 GB, free: 6.367 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4678, allocations: 4.938 kB / 0.5397 GB, free: 6.363 MB / 398.1 MB Notification: Performance of Templates: time 0.007131/0.4749, allocations: 1.917 MB / 0.5416 GB, free: 5.367 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches