Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.001499, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00189/0.00189, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 79.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3656, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003213/0.3688, allocations: 1.622 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3707, allocations: 1.164 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.3707, allocations: 1.375 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.371, allocations: 31.95 kB / 0.5344 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.3713, allocations: 81.75 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.3716, allocations: 114.5 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3718, allocations: 83.38 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3719, allocations: 22.98 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.372, allocations: 24.3 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3722, allocations: 44.2 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3722, allocations: 5.5 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.3723, allocations: 100.1 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.3724, allocations: 17.42 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.3725, allocations: 33.3 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.3727, allocations: 146.6 kB / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3727, allocations: 1.375 kB / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3727, allocations: 0 / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3727, allocations: 0 / 0.5351 GB, free: 10.99 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006059/0.3734, allocations: 422.4 kB / 0.5355 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3734, allocations: 12.12 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.3735, allocations: 8.938 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3737, allocations: 203.3 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3737, allocations: 6.281 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3738, allocations: 3.594 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.374, allocations: 86.5 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.374, allocations: 1 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.374, allocations: 0 / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.374, allocations: 5.719 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3742, allocations: 39.7 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.3746, allocations: 307.1 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.3747, allocations: 56.42 kB / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.3748, allocations: 22.94 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3748, allocations: 5.438 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3749, allocations: 31.88 kB / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3749, allocations: 0 / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006768/0.3756, allocations: 202.4 kB / 0.5364 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.3756, allocations: 78.27 kB / 0.5365 GB, free: 9.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3758, allocations: 160.4 kB / 0.5366 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3758, allocations: 30.7 kB / 0.5367 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3759, allocations: 99.44 kB / 0.5368 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.376, allocations: 27.08 kB / 0.5368 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.376, allocations: 24.47 kB / 0.5368 GB, free: 9.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3762, allocations: 321.2 kB / 0.5371 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.3763, allocations: 24.83 kB / 0.5371 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.166e-05/0.3764, allocations: 48.69 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3766, allocations: 73.16 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3766, allocations: 0 / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002354/0.3768, allocations: 108.4 kB / 0.5374 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3768, allocations: 5.062 kB / 0.5374 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3768, allocations: 3.938 kB / 0.5374 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3769, allocations: 4.031 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.377, allocations: 18.73 kB / 0.5374 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.377, allocations: 3.938 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.377, allocations: 3.656 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3771, allocations: 2.406 kB / 0.5374 GB, free: 8.797 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 9.327e-05/0.3772, allocations: 124.5 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.3772, allocations: 7.781 kB / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.3775, allocations: 139.5 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3775, allocations: 1.469 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3775, allocations: 3.938 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3776, allocations: 0 / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.3781, allocations: 396.6 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3781, allocations: 1.438 kB / 0.5381 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.326e-05/0.3782, allocations: 21.48 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3782, allocations: 7.938 kB / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3782, allocations: 9.219 kB / 0.5381 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3782, allocations: 1.375 kB / 0.5381 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3782, allocations: 0 / 0.5381 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.3785, allocations: 207.8 kB / 0.5383 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.3785, allocations: 82.39 kB / 0.5384 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3786, allocations: 5.031 kB / 0.5384 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.3786, allocations: 8.156 kB / 0.5384 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3787, allocations: 10.61 kB / 0.5384 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3787, allocations: 2.5 kB / 0.5384 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.633e-05/0.3788, allocations: 123.2 kB / 0.5385 GB, free: 7.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3788, allocations: 0 / 0.5385 GB, free: 7.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.3791, allocations: 35.12 kB / 0.5385 GB, free: 7.777 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 (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.001158/0.3803, allocations: 0.4973 MB / 0.539 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.3805, allocations: 76.62 kB / 0.5391 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3805, allocations: 0 / 0.5391 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.837e-05/0.3806, allocations: 43.38 kB / 0.5391 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.381, allocations: 25.94 kB / 0.5392 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.3815, allocations: 230.7 kB / 0.5394 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3818, allocations: 0.6974 MB / 0.5401 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.3819, allocations: 24.08 kB / 0.5401 GB, free: 6.535 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3819, allocations: 0 / 0.5401 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Templates: time 0.004478/0.3864, allocations: 2.16 MB / 0.5422 GB, free: 5.422 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches