Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 118.8 kB / 17.79 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.00115/0.00115, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, 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.2332/0.2332, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4214, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003246/0.4247, allocations: 1.606 MB / 0.5326 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.4265, allocations: 1.159 MB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.4265, allocations: 5.25 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.4267, allocations: 19.86 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.427, allocations: 86.45 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.4273, allocations: 113.7 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.4275, allocations: 63.39 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4276, allocations: 18.8 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.246e-05/0.4277, allocations: 25.48 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.4278, allocations: 42.77 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.4278, allocations: 8.125 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.428, allocations: 92.2 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.428, allocations: 18.66 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.4281, allocations: 17.38 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.4283, allocations: 146.5 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4283, allocations: 1.375 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4283, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4283, allocations: 0 / 0.5343 GB, free: 11.07 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.0006137/0.429, allocations: 395.8 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.429, allocations: 9.625 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.429, allocations: 11.59 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.4293, allocations: 191.7 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.4293, allocations: 1.75 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.4293, allocations: 13.67 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.4295, allocations: 65.27 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4295, allocations: 0 / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4295, allocations: 1.375 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.4295, allocations: 0 / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.303e-05/0.4296, allocations: 33.66 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.43, allocations: 284.3 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.4303, allocations: 44.38 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.4303, allocations: 19.81 kB / 0.5354 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.4304, allocations: 5.375 kB / 0.5354 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.4304, allocations: 35.94 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.4304, allocations: 0 / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005896/0.431, allocations: 150.3 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.431, allocations: 78.33 kB / 0.5356 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.4312, allocations: 146.2 kB / 0.5358 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.4312, allocations: 25.7 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.4313, allocations: 99.11 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.4313, allocations: 22.59 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.4314, allocations: 14.5 kB / 0.5359 GB, free: 9.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.4316, allocations: 324.9 kB / 0.5362 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.4317, allocations: 19.17 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.4318, allocations: 48.38 kB / 0.5363 GB, free: 9.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.4319, allocations: 51.52 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.432, allocations: 0 / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001914/0.4321, allocations: 79.34 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4322, allocations: 5.438 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4322, allocations: 0 / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4322, allocations: 5.031 kB / 0.5364 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.4323, allocations: 14.19 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4323, allocations: 0 / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.4323, allocations: 15.42 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.4323, allocations: 10 kB / 0.5365 GB, free: 8.996 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.0001831/0.4325, allocations: 114.2 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.4326, allocations: 3.281 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.4328, allocations: 100.1 kB / 0.5367 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4328, allocations: 5.156 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4329, allocations: 0 / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4329, allocations: 0 / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/0.4335, allocations: 363.8 kB / 0.537 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4335, allocations: 1.125 kB / 0.537 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.4335, allocations: 17.11 kB / 0.537 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4336, allocations: 1.125 kB / 0.537 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.4336, allocations: 4 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4336, allocations: 9.031 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4336, allocations: 0 / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.4338, allocations: 182.3 kB / 0.5372 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.434, allocations: 79.42 kB / 0.5373 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.434, allocations: 1.125 kB / 0.5373 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.4341, allocations: 11.36 kB / 0.5373 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.4341, allocations: 10.56 kB / 0.5373 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.4341, allocations: 1.156 kB / 0.5373 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.4e-05/0.4342, allocations: 116.7 kB / 0.5374 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4342, allocations: 0 / 0.5374 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.4345, allocations: 43.61 kB / 0.5375 GB, free: 8.035 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.001108/0.4356, allocations: 0.4905 MB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.4359, allocations: 54.7 kB / 0.538 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4359, allocations: 4 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.436, allocations: 28.7 kB / 0.538 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.4363, allocations: 18.81 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.4367, allocations: 169.5 kB / 0.5382 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.4371, allocations: 0.6908 MB / 0.5389 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.4372, allocations: 25.83 kB / 0.5389 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.4372, allocations: 22.17 kB / 0.5389 GB, free: 6.852 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4372, allocations: 0 / 0.5389 GB, free: 6.852 MB / 398.1 MB Notification: Performance of Templates: time 0.004849/0.4421, allocations: 1.765 MB / 0.5407 GB, free: 5.934 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches