Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001496/0.001496, allocations: 115.5 kB / 17.78 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.001912/0.001912, allocations: 204.6 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.53/1.53, 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.2491/0.2491, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 76.09 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4649/0.4665, allocations: 62.42 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00363/0.4702, allocations: 1.624 MB / 0.5326 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.4713, allocations: 0.5444 MB / 0.5331 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.4713, allocations: 3.938 kB / 0.5331 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.4717, allocations: 77.45 kB / 0.5332 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.472, allocations: 106 kB / 0.5333 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.4723, allocations: 115.4 kB / 0.5334 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.4725, allocations: 85.3 kB / 0.5335 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.4726, allocations: 24.22 kB / 0.5335 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.4727, allocations: 28.55 kB / 0.5335 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.4728, allocations: 59.31 kB / 0.5336 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.4728, allocations: 3.531 kB / 0.5336 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.4729, allocations: 49.25 kB / 0.5337 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.473, allocations: 20.42 kB / 0.5337 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.4731, allocations: 28.97 kB / 0.5337 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.4733, allocations: 115.1 kB / 0.5338 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4733, allocations: 0 / 0.5338 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4733, allocations: 0 / 0.5338 GB, free: 11.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.4733, allocations: 1.375 kB / 0.5338 GB, free: 11.71 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.0005691/0.4739, allocations: 419.6 kB / 0.5342 GB, free: 11.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.474, allocations: 9.625 kB / 0.5342 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.474, allocations: 12.97 kB / 0.5342 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.4742, allocations: 209.2 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.4743, allocations: 1.75 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.4743, allocations: 7.125 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.4745, allocations: 54.12 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.4745, allocations: 1.375 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4745, allocations: 8 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4745, allocations: 1.375 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.4746, allocations: 27.09 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.4751, allocations: 300.4 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.4752, allocations: 48.38 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.4753, allocations: 29.12 kB / 0.5349 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.4753, allocations: 0 / 0.5349 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4754, allocations: 31.94 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.4754, allocations: 0 / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001018/0.4764, allocations: 242.7 kB / 0.5352 GB, free: 10.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.4764, allocations: 52.53 kB / 0.5352 GB, free: 10.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.4767, allocations: 215.1 kB / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.4767, allocations: 25.7 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.4768, allocations: 113.4 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.4769, allocations: 23.09 kB / 0.5356 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.4769, allocations: 20.03 kB / 0.5356 GB, free: 10.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4771, allocations: 327.3 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.289e-05/0.4772, allocations: 36.62 kB / 0.5359 GB, free: 9.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.742e-05/0.4773, allocations: 40.75 kB / 0.536 GB, free: 9.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.4774, allocations: 69.23 kB / 0.536 GB, free: 9.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4775, allocations: 0 / 0.536 GB, free: 9.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002483/0.4777, allocations: 110.2 kB / 0.5361 GB, free: 9.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4777, allocations: 8.719 kB / 0.5361 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4778, allocations: 320 / 0.5361 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4778, allocations: 5.109 kB / 0.5362 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.4779, allocations: 14.09 kB / 0.5362 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.4779, allocations: 0 / 0.5362 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.478, allocations: 19.14 kB / 0.5362 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.478, allocations: 6.266 kB / 0.5362 GB, free: 9.539 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 (8): * Single equations (assignments): 8 * 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.0001088/0.4781, allocations: 129.1 kB / 0.5363 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.4781, allocations: 13.34 kB / 0.5363 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.4785, allocations: 130.6 kB / 0.5365 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.4785, allocations: 5.109 kB / 0.5365 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4785, allocations: 0 / 0.5365 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4785, allocations: 8.984 kB / 0.5365 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.4791, allocations: 419 kB / 0.5369 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4791, allocations: 8.875 kB / 0.5369 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.4792, allocations: 21.14 kB / 0.5369 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4792, allocations: 5.094 kB / 0.5369 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4792, allocations: 5.312 kB / 0.5369 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4792, allocations: 1.312 kB / 0.5369 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4793, allocations: 1.25 kB / 0.5369 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.4795, allocations: 208.8 kB / 0.5371 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.4796, allocations: 95.41 kB / 0.5372 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.4796, allocations: 2.219 kB / 0.5372 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.4797, allocations: 3.25 kB / 0.5372 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.4797, allocations: 11.17 kB / 0.5372 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.4798, allocations: 1.938 kB / 0.5372 GB, free: 8.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.4799, allocations: 172 kB / 0.5374 GB, free: 8.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4799, allocations: 0 / 0.5374 GB, free: 8.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.4802, allocations: 18.5 kB / 0.5374 GB, free: 8.473 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001084/0.4813, allocations: 457.4 kB / 0.5378 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.4816, allocations: 78.95 kB / 0.5379 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4816, allocations: 1.25 kB / 0.5379 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.4817, allocations: 40.03 kB / 0.5379 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.4821, allocations: 19.61 kB / 0.538 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000609/0.4827, allocations: 277 kB / 0.5382 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.4832, allocations: 0.7163 MB / 0.5389 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.4833, allocations: 16.12 kB / 0.5389 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.4833, allocations: 13.56 kB / 0.539 GB, free: 7.234 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4833, allocations: 0 / 0.539 GB, free: 7.234 MB / 398.1 MB Notification: Performance of Templates: time 0.004504/0.4878, allocations: 1.392 MB / 0.5403 GB, free: 6.527 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches