Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001123, allocations: 122.8 kB / 17.79 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.002164/0.002164, allocations: 202 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.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2473/0.2473, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 75.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.5001, allocations: 62.44 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.00469/0.5049, allocations: 1.6 MB / 0.5326 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.5065, allocations: 0.5313 MB / 0.5331 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.5066, allocations: 1.531 kB / 0.5331 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.5069, allocations: 30.72 kB / 0.5331 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.5073, allocations: 77.7 kB / 0.5332 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.5077, allocations: 82.5 kB / 0.5333 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.5079, allocations: 74.91 kB / 0.5333 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.508, allocations: 9.906 kB / 0.5334 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.5081, allocations: 23.55 kB / 0.5334 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.5082, allocations: 21.98 kB / 0.5334 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.5082, allocations: 2.875 kB / 0.5334 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.5083, allocations: 37.28 kB / 0.5334 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.5084, allocations: 13.34 kB / 0.5334 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.5085, allocations: 24.67 kB / 0.5335 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.5088, allocations: 94.14 kB / 0.5336 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5088, allocations: 0 / 0.5336 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.138e-06/0.5088, allocations: 0 / 0.5336 GB, free: 11.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.5088, allocations: 5.312 kB / 0.5336 GB, free: 11.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006412/0.5095, allocations: 390.3 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.5096, allocations: 13.56 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.5096, allocations: 11.59 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.5099, allocations: 195.8 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.5099, allocations: 384 / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.51, allocations: 10.69 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.5102, allocations: 51.3 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.5103, allocations: 5.312 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5103, allocations: 0 / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.5103, allocations: 0 / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.5104, allocations: 21.73 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.5109, allocations: 276.1 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.5112, allocations: 48.38 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.5113, allocations: 23.8 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.5114, allocations: 0 / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.5114, allocations: 31.94 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.5114, allocations: 0 / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008037/0.5122, allocations: 149.9 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.5123, allocations: 60.77 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.5126, allocations: 179.2 kB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.5126, allocations: 25.7 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.5127, allocations: 100.2 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.5127, allocations: 14.59 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.5128, allocations: 17.84 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.513, allocations: 329.5 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.966e-05/0.5131, allocations: 17.61 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.5132, allocations: 18.98 kB / 0.5355 GB, free: 9.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.5134, allocations: 44.2 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5134, allocations: 0 / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002764/0.5137, allocations: 89.14 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5137, allocations: 5.562 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.5138, allocations: 0 / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.5138, allocations: 1.062 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.5139, allocations: 13.98 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.5139, allocations: 0 / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.514, allocations: 15.23 kB / 0.5356 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.514, allocations: 1.094 kB / 0.5356 GB, free: 9.836 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 0.0001466/0.5142, allocations: 117.4 kB / 0.5357 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.5142, allocations: 12.23 kB / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.5146, allocations: 94.25 kB / 0.5358 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5147, allocations: 0 / 0.5358 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.5147, allocations: 1.031 kB / 0.5358 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.5147, allocations: 7.922 kB / 0.5359 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006746/0.5154, allocations: 340.6 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5154, allocations: 9.344 kB / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.5155, allocations: 16.52 kB / 0.5362 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.5155, allocations: 1.094 kB / 0.5362 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.5157, allocations: 9.062 kB / 0.5362 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5157, allocations: 0 / 0.5362 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5157, allocations: 1.156 kB / 0.5362 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.5161, allocations: 175.4 kB / 0.5364 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.381e-05/0.5162, allocations: 91.52 kB / 0.5365 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.5163, allocations: 5.188 kB / 0.5365 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.5164, allocations: 6.453 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.5165, allocations: 2.469 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.5165, allocations: 1.469 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002641/0.5168, allocations: 136.3 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5168, allocations: 0 / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.5173, allocations: 23.11 kB / 0.5366 GB, free: 8.891 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.002011/0.5194, allocations: 410 kB / 0.537 GB, free: 8.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000387/0.5198, allocations: 43.56 kB / 0.5371 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5198, allocations: 0 / 0.5371 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.52, allocations: 23.7 kB / 0.5371 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/0.5207, allocations: 17.61 kB / 0.5371 GB, free: 8.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.5216, allocations: 205.8 kB / 0.5373 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/0.5222, allocations: 0.6966 MB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.341e-05/0.5223, allocations: 14.14 kB / 0.538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.5224, allocations: 12.16 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5224, allocations: 0 / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of Templates: time 0.007108/0.5295, allocations: 1.13 MB / 0.5391 GB, free: 7.164 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches