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.001584/0.001584, 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.001977/0.001977, allocations: 203.9 kB / 18.74 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.614/1.614, 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.2356/0.2356, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 71.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.484, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.004123/0.4882, allocations: 1.591 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.4896, allocations: 0.543 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.4897, allocations: 0 / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.49, allocations: 17.36 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.4906, allocations: 82.98 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.4911, allocations: 110.5 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.4913, allocations: 61.97 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4915, allocations: 18.86 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.4915, allocations: 24.11 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.246e-05/0.4916, allocations: 22.73 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.4917, allocations: 2.75 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.4918, allocations: 36.55 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.4919, allocations: 20.03 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.4919, allocations: 16 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.4922, allocations: 81.05 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4922, allocations: 4 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4922, allocations: 0 / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.4923, allocations: 1.375 kB / 0.5336 GB, free: 11.65 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.0007029/0.493, allocations: 387.6 kB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.493, allocations: 9.625 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.4931, allocations: 7.641 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.4935, allocations: 200.3 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.4935, allocations: 1.75 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.4935, allocations: 1.75 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.4937, allocations: 52.81 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4938, allocations: 0 / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4938, allocations: 5.359 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4938, allocations: 0 / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.4939, allocations: 25.73 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.4944, allocations: 284.2 kB / 0.5345 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.4947, allocations: 56.3 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.4948, allocations: 15.73 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.4948, allocations: 5.453 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.4948, allocations: 31.94 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.4949, allocations: 0 / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006999/0.4956, allocations: 154.8 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.4956, allocations: 51.41 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.4958, allocations: 146.8 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4959, allocations: 33.64 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.496, allocations: 95.75 kB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.496, allocations: 17.48 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.4961, allocations: 22.64 kB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4962, allocations: 325 kB / 0.5354 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.4963, allocations: 20.55 kB / 0.5354 GB, free: 9.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.4964, allocations: 23.62 kB / 0.5355 GB, free: 9.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.4966, allocations: 55.2 kB / 0.5355 GB, free: 9.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4966, allocations: 0 / 0.5355 GB, free: 9.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002255/0.4968, allocations: 87.8 kB / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4968, allocations: 9.188 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4969, allocations: 0 / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.4969, allocations: 1.375 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.497, allocations: 10.03 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.497, allocations: 3.984 kB / 0.5356 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.497, allocations: 7.172 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.497, allocations: 1.094 kB / 0.5356 GB, free: 9.656 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.494e-05/0.4971, allocations: 122.7 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.4972, allocations: 12.05 kB / 0.5358 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.4975, allocations: 96.48 kB / 0.5358 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4975, allocations: 5.266 kB / 0.5359 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4975, allocations: 1.094 kB / 0.5359 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4975, allocations: 320 / 0.5359 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.498, allocations: 363.1 kB / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.498, allocations: 0 / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.4981, allocations: 18.73 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4981, allocations: 0 / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.4981, allocations: 1.062 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.4981, allocations: 3.938 kB / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4981, allocations: 1.062 kB / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.4984, allocations: 186.9 kB / 0.5364 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.4984, allocations: 86.28 kB / 0.5365 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.4985, allocations: 5.203 kB / 0.5365 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.4985, allocations: 6.625 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.4986, allocations: 6.125 kB / 0.5365 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.4986, allocations: 5.062 kB / 0.5365 GB, free: 8.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.448e-05/0.4987, allocations: 121 kB / 0.5366 GB, free: 8.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4987, allocations: 1.125 kB / 0.5366 GB, free: 8.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.499, allocations: 18.31 kB / 0.5366 GB, free: 8.691 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.0009778/0.5, allocations: 396.5 kB / 0.537 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.5002, allocations: 50.77 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5002, allocations: 0 / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.5003, allocations: 33.89 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.5007, allocations: 20.88 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.5011, allocations: 185.8 kB / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5014, allocations: 0.6963 MB / 0.538 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.216e-05/0.5015, allocations: 15.33 kB / 0.538 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.5015, allocations: 12.84 kB / 0.538 GB, free: 7.555 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5016, allocations: 0 / 0.538 GB, free: 7.555 MB / 398.1 MB Notification: Performance of Templates: time 0.004333/0.5059, allocations: 1.135 MB / 0.5391 GB, free: 6.965 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