Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001585, allocations: 121.6 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.002396/0.002396, allocations: 200.7 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, 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.2195/0.2195, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 83.84 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3631, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003146/0.3663, allocations: 1.614 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.3672, allocations: 0.552 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.3673, allocations: 1.375 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.3676, allocations: 127.5 kB / 0.5333 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.3679, allocations: 125.2 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.3682, allocations: 114 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.3684, allocations: 98.64 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3685, allocations: 16.39 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.559e-05/0.3686, allocations: 54.84 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3687, allocations: 82.31 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3688, allocations: 2.594 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.3689, allocations: 42.09 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.3689, allocations: 30.84 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.369, allocations: 38.31 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3692, allocations: 128.5 kB / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3692, allocations: 0 / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3692, allocations: 0 / 0.534 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3692, allocations: 4 kB / 0.534 GB, free: 11.44 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.0005976/0.3698, allocations: 436 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3699, allocations: 9.438 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.3699, allocations: 14.62 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.3701, allocations: 205.8 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.3702, allocations: 10.27 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.3702, allocations: 6.812 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3704, allocations: 58.89 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3704, allocations: 5.062 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3704, allocations: 0 / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3704, allocations: 1.375 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3705, allocations: 35.86 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.371, allocations: 312.4 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3711, allocations: 39.06 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.3712, allocations: 25.19 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3712, allocations: 1.375 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3712, allocations: 31.94 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.674e-06/0.3712, allocations: 0 / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000925/0.3722, allocations: 256.1 kB / 0.5353 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3722, allocations: 56.61 kB / 0.5354 GB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.3725, allocations: 282 kB / 0.5357 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3725, allocations: 30.92 kB / 0.5357 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.3726, allocations: 111.9 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.3726, allocations: 30.73 kB / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.3727, allocations: 19.25 kB / 0.5358 GB, free: 9.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3728, allocations: 328.2 kB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.3729, allocations: 36.09 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.373, allocations: 29.36 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.3732, allocations: 73.78 kB / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3732, allocations: 0 / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002161/0.3734, allocations: 110.6 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3734, allocations: 5.031 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3734, allocations: 3.938 kB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3735, allocations: 4.969 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3736, allocations: 18.08 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3736, allocations: 1.469 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.3736, allocations: 18.45 kB / 0.5364 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3736, allocations: 2.625 kB / 0.5365 GB, free: 9.203 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.0001042/0.3737, allocations: 137.5 kB / 0.5366 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.3738, allocations: 10.12 kB / 0.5366 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.3741, allocations: 140.2 kB / 0.5367 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3741, allocations: 2.125 kB / 0.5367 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3741, allocations: 0 / 0.5367 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3741, allocations: 3.938 kB / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.3746, allocations: 428.8 kB / 0.5371 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3746, allocations: 0.9688 kB / 0.5371 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.3747, allocations: 21.67 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3747, allocations: 5.062 kB / 0.5372 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.3747, allocations: 0.9062 kB / 0.5372 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3747, allocations: 5.094 kB / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3747, allocations: 4.828 kB / 0.5372 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.375, allocations: 222.8 kB / 0.5374 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.3751, allocations: 92.39 kB / 0.5375 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.3751, allocations: 1.25 kB / 0.5375 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.3752, allocations: 7.203 kB / 0.5375 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.3752, allocations: 7.812 kB / 0.5375 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.3752, allocations: 3.141 kB / 0.5375 GB, free: 8.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.3754, allocations: 208.9 kB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3754, allocations: 4 kB / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.3757, allocations: 19.84 kB / 0.5377 GB, free: 8.121 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.0009734/0.3767, allocations: 452 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.3769, allocations: 87.38 kB / 0.5382 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3769, allocations: 0 / 0.5382 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.377, allocations: 40.39 kB / 0.5383 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3774, allocations: 26.52 kB / 0.5383 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.378, allocations: 311.7 kB / 0.5386 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3783, allocations: 0.722 MB / 0.5393 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.481e-05/0.3784, allocations: 25.03 kB / 0.5393 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.3784, allocations: 17.53 kB / 0.5393 GB, free: 6.852 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3784, allocations: 4 kB / 0.5393 GB, free: 6.848 MB / 398.1 MB Notification: Performance of Templates: time 0.003864/0.3823, allocations: 1.426 MB / 0.5407 GB, free: 6.125 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches