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.00119/0.001189, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 75.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4408, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003189/0.444, allocations: 1.66 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.4458, allocations: 1.2 MB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.4459, allocations: 1.125 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.4461, allocations: 31.84 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.4465, allocations: 85.73 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.4469, allocations: 184.7 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.447, allocations: 74.02 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4472, allocations: 22.98 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.4472, allocations: 30.86 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.4474, allocations: 40.2 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.4474, allocations: 5.5 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.4476, allocations: 104.1 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.4476, allocations: 18.8 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.4477, allocations: 21.38 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.448, allocations: 161.6 kB / 0.5346 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.448, allocations: 4 kB / 0.5346 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.448, allocations: 1.375 kB / 0.5346 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.448, allocations: 0 / 0.5346 GB, free: 10.91 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.0005024/0.4485, allocations: 420.9 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.4485, allocations: 8.25 kB / 0.535 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.4486, allocations: 9.016 kB / 0.535 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.4488, allocations: 187.3 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.4488, allocations: 1.75 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.4488, allocations: 1.75 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.449, allocations: 92.06 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.449, allocations: 3.984 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.4491, allocations: 0 / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4491, allocations: 1.375 kB / 0.5353 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.4492, allocations: 43.28 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.4496, allocations: 308.8 kB / 0.5356 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.4498, allocations: 49.28 kB / 0.5356 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.4498, allocations: 24.88 kB / 0.5357 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4499, allocations: 1.156 kB / 0.5357 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.4499, allocations: 35.58 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4499, allocations: 4 kB / 0.5357 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008236/0.4507, allocations: 234.8 kB / 0.5359 GB, free: 9.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.4508, allocations: 77.92 kB / 0.536 GB, free: 9.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.451, allocations: 161.2 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.451, allocations: 25.7 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.4511, allocations: 96 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.4511, allocations: 27.53 kB / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.4512, allocations: 18.66 kB / 0.5363 GB, free: 9.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4513, allocations: 326 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.4514, allocations: 36.81 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.4516, allocations: 58.52 kB / 0.5367 GB, free: 8.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.4518, allocations: 89.98 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4518, allocations: 1.062 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002906/0.4521, allocations: 128.2 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4521, allocations: 5.844 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4521, allocations: 0 / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4522, allocations: 1.188 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.4523, allocations: 22.83 kB / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.4523, allocations: 0 / 0.5369 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.4524, allocations: 13.73 kB / 0.537 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.4524, allocations: 2.281 kB / 0.537 GB, free: 8.688 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.0001511/0.4525, allocations: 128.7 kB / 0.5371 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.4526, allocations: 7.359 kB / 0.5371 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.4529, allocations: 138 kB / 0.5372 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.453, allocations: 5.266 kB / 0.5372 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.453, allocations: 1.25 kB / 0.5372 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.453, allocations: 3.938 kB / 0.5372 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/0.4536, allocations: 418 kB / 0.5376 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4536, allocations: 0 / 0.5376 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.501e-05/0.4537, allocations: 19.14 kB / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4537, allocations: 1.875 kB / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4537, allocations: 3.938 kB / 0.5377 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4537, allocations: 0 / 0.5377 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4537, allocations: 1.938 kB / 0.5377 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.4541, allocations: 226.5 kB / 0.5379 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.4541, allocations: 91.39 kB / 0.538 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.4542, allocations: 9.125 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.4543, allocations: 10.89 kB / 0.538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.4543, allocations: 2.688 kB / 0.538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.4543, allocations: 5.125 kB / 0.538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.897e-05/0.4544, allocations: 121.7 kB / 0.5381 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4544, allocations: 0 / 0.5381 GB, free: 7.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000299/0.4547, allocations: 46.11 kB / 0.5381 GB, free: 7.637 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.001073/0.4558, allocations: 477.1 kB / 0.5386 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003379/0.4562, allocations: 92.92 kB / 0.5387 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4562, allocations: 7.938 kB / 0.5387 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.4563, allocations: 44.81 kB / 0.5387 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.4567, allocations: 25.2 kB / 0.5388 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/0.4573, allocations: 213.5 kB / 0.539 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.4576, allocations: 0.7063 MB / 0.5397 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.936e-05/0.4577, allocations: 30.88 kB / 0.5397 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.4578, allocations: 22.45 kB / 0.5397 GB, free: 6.406 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4578, allocations: 3.938 kB / 0.5397 GB, free: 6.402 MB / 398.1 MB Notification: Performance of Templates: time 0.005081/0.4629, allocations: 1.922 MB / 0.5416 GB, free: 5.402 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