Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002322/0.002322, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 76.09 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3718, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00325/0.3751, allocations: 1.647 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3762, allocations: 0.5377 MB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.3763, allocations: 1.375 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.3766, allocations: 41.45 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.3769, allocations: 81.72 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.3772, allocations: 95.83 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3774, allocations: 90.75 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3775, allocations: 27.05 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.075e-05/0.3776, allocations: 33.08 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3777, allocations: 40.36 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3777, allocations: 4.438 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3778, allocations: 43.11 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.3779, allocations: 17.7 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.3779, allocations: 34.42 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.3781, allocations: 115.3 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3782, allocations: 1.344 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3782, allocations: 0 / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3782, allocations: 0 / 0.5338 GB, free: 11.51 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005403/0.3787, allocations: 416.4 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3788, allocations: 9.734 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.3788, allocations: 10.44 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.379, allocations: 207.1 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.379, allocations: 5.594 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3791, allocations: 4.969 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3793, allocations: 73.27 kB / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3793, allocations: 1.406 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3793, allocations: 4 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3793, allocations: 5.297 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.3794, allocations: 42.64 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.3799, allocations: 314.9 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.38, allocations: 62.95 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.3801, allocations: 27.75 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3801, allocations: 5.156 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3802, allocations: 34.56 kB / 0.5349 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.3802, allocations: 1.172 kB / 0.5349 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001067/0.3812, allocations: 306.3 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.3813, allocations: 52.78 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3815, allocations: 166.2 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3815, allocations: 25.7 kB / 0.5355 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3816, allocations: 101.5 kB / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.3816, allocations: 39.52 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.3817, allocations: 31.33 kB / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3818, allocations: 325.6 kB / 0.5359 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.989e-05/0.3819, allocations: 32.61 kB / 0.536 GB, free: 9.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-05/0.382, allocations: 40.25 kB / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.3822, allocations: 93.23 kB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3822, allocations: 0 / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002667/0.3825, allocations: 137.2 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3825, allocations: 9.594 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3825, allocations: 0 / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3825, allocations: 1.094 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3827, allocations: 25.3 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3827, allocations: 0 / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.3827, allocations: 11.39 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3828, allocations: 3.344 kB / 0.5363 GB, free: 9.281 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 (13): * Single equations (assignments): 13 * 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.866e-05/0.3829, allocations: 125.5 kB / 0.5364 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.3829, allocations: 20.23 kB / 0.5364 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.3833, allocations: 164 kB / 0.5366 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3833, allocations: 2.156 kB / 0.5366 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3833, allocations: 0 / 0.5366 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3833, allocations: 1.219 kB / 0.5366 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/0.3839, allocations: 471.8 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.384, allocations: 1.156 kB / 0.537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.687e-05/0.3841, allocations: 23.8 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3841, allocations: 1.125 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3841, allocations: 6.281 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3841, allocations: 1.062 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3841, allocations: 1.125 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.3844, allocations: 245.3 kB / 0.5373 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.3845, allocations: 83.64 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.3845, allocations: 2.375 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3846, allocations: 7.359 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.3846, allocations: 8.5 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3847, allocations: 3.688 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.3848, allocations: 139.3 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3848, allocations: 4 kB / 0.5375 GB, free: 8.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.3851, allocations: 25.72 kB / 0.5375 GB, free: 8.18 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 (13): * Single equations (assignments): 13 * 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.001082/0.3861, allocations: 451.6 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.3864, allocations: 96.3 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3865, allocations: 1.281 kB / 0.5381 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.3866, allocations: 60.12 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.387, allocations: 23.55 kB / 0.5381 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.3875, allocations: 251.2 kB / 0.5384 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.3878, allocations: 0.7034 MB / 0.5391 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.509e-05/0.3879, allocations: 23.03 kB / 0.5391 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.388, allocations: 16.53 kB / 0.5391 GB, free: 6.945 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.388, allocations: 0 / 0.5391 GB, free: 6.945 MB / 398.1 MB Notification: Performance of Templates: time 0.00467/0.3926, allocations: 1.529 MB / 0.5406 GB, free: 6.168 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches