Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 116.1 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001245, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2451/0.2451, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 71.89 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4935, allocations: 62.45 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00327/0.4969, allocations: 1.591 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.498, allocations: 0.5462 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.4981, allocations: 1.125 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.4983, allocations: 20.3 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.4987, allocations: 84.14 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.499, allocations: 109.4 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.4992, allocations: 66.02 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.4993, allocations: 11.84 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.4994, allocations: 28.66 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.4995, allocations: 25.52 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.4995, allocations: 3.438 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.893e-05/0.4996, allocations: 32.64 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.4997, allocations: 8.062 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.4997, allocations: 23.67 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.4999, allocations: 88.09 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4999, allocations: 1.031 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4999, allocations: 0 / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4999, allocations: 0 / 0.5336 GB, free: 11.62 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.0006207/0.5006, allocations: 393.3 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5006, allocations: 9.188 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.5007, allocations: 7.484 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.5009, allocations: 197.2 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.5009, allocations: 2.188 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.501, allocations: 2.031 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.5011, allocations: 52.53 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5011, allocations: 3.938 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5011, allocations: 5.875 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5012, allocations: 0 / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.433e-05/0.5013, allocations: 29.94 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.5017, allocations: 279.9 kB / 0.5345 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.5019, allocations: 44.19 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.502, allocations: 20.97 kB / 0.5346 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.502, allocations: 4 kB / 0.5346 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.502, allocations: 31.41 kB / 0.5346 GB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.502, allocations: 1.125 kB / 0.5346 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005819/0.5026, allocations: 150.1 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.5027, allocations: 52.78 kB / 0.5348 GB, free: 10.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.5028, allocations: 157.4 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5029, allocations: 27.08 kB / 0.535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.5029, allocations: 98.81 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.503, allocations: 18.55 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.503, allocations: 17.84 kB / 0.5351 GB, free: 10.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5031, allocations: 325.5 kB / 0.5354 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.252e-05/0.5032, allocations: 18.98 kB / 0.5354 GB, free: 9.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.5033, allocations: 24.36 kB / 0.5355 GB, free: 9.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.5034, allocations: 54.94 kB / 0.5355 GB, free: 9.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5034, allocations: 1.375 kB / 0.5355 GB, free: 9.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001921/0.5036, allocations: 90.75 kB / 0.5356 GB, free: 9.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5037, allocations: 5.5 kB / 0.5356 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5037, allocations: 0 / 0.5356 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5037, allocations: 1.375 kB / 0.5356 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.5038, allocations: 13.61 kB / 0.5356 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/0.5038, allocations: 4 kB / 0.5356 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.5038, allocations: 8.109 kB / 0.5356 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.5038, allocations: 1.375 kB / 0.5356 GB, free: 9.621 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 9.122e-05/0.5039, allocations: 117.9 kB / 0.5358 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.504, allocations: 8.078 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.5042, allocations: 100.3 kB / 0.5359 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5042, allocations: 5.375 kB / 0.5359 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5042, allocations: 0 / 0.5359 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.5042, allocations: 1.375 kB / 0.5359 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.5047, allocations: 354.8 kB / 0.5362 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.5047, allocations: 0 / 0.5362 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.5048, allocations: 17.61 kB / 0.5362 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5048, allocations: 0.9688 kB / 0.5362 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.5048, allocations: 1.25 kB / 0.5362 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5048, allocations: 11.88 kB / 0.5362 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5048, allocations: 0 / 0.5362 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.5051, allocations: 183.1 kB / 0.5364 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.5051, allocations: 83.41 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.5052, allocations: 0.5312 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.5052, allocations: 15.17 kB / 0.5365 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.5053, allocations: 2.312 kB / 0.5365 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.5053, allocations: 6.188 kB / 0.5365 GB, free: 8.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.239e-05/0.5054, allocations: 124.7 kB / 0.5366 GB, free: 8.672 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5054, allocations: 0 / 0.5366 GB, free: 8.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.5056, allocations: 18.59 kB / 0.5366 GB, free: 8.664 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.0009739/0.5066, allocations: 396.2 kB / 0.537 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.5068, allocations: 51.11 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5069, allocations: 4 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.5069, allocations: 28.58 kB / 0.5371 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.0003804/0.5073, allocations: 19.42 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.5078, allocations: 186.4 kB / 0.5373 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5081, allocations: 0.6911 MB / 0.538 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.279e-05/0.5082, allocations: 28.78 kB / 0.538 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.5082, allocations: 15.97 kB / 0.538 GB, free: 7.516 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5082, allocations: 0 / 0.538 GB, free: 7.516 MB / 398.1 MB Notification: Performance of Templates: time 0.003717/0.5119, allocations: 1.127 MB / 0.5391 GB, free: 6.938 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches