Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 201.2 kB / 18.73 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.478/1.478, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 76.33 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3734, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002696/0.3762, allocations: 1.619 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.3771, allocations: 0.5448 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.3772, allocations: 0 / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.3774, allocations: 77.7 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.3777, allocations: 114.1 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.378, allocations: 110.9 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.3782, allocations: 80.94 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.3783, allocations: 16.23 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.3783, allocations: 40.34 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3785, allocations: 60.69 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3785, allocations: 2.75 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.3786, allocations: 44.86 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.3786, allocations: 24.16 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.3787, allocations: 29.25 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.3788, allocations: 110.1 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3788, allocations: 1.375 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3789, allocations: 0 / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.3789, allocations: 4 kB / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004621/0.3793, allocations: 413.4 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.3794, allocations: 9.625 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3794, allocations: 8.969 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.3796, allocations: 205.2 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.3796, allocations: 1.75 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.3796, allocations: 3.125 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.3798, allocations: 59.55 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3798, allocations: 3.906 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.3798, allocations: 4 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3798, allocations: 1.375 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.3799, allocations: 32.41 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.3803, allocations: 300.2 kB / 0.5348 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.3804, allocations: 48.2 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.3805, allocations: 32.19 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.3805, allocations: 1.156 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.3806, allocations: 31.72 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3806, allocations: 0 / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008545/0.3814, allocations: 246.1 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.3815, allocations: 52.66 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.3817, allocations: 214.1 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3817, allocations: 26.77 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.3818, allocations: 101.9 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.3818, allocations: 29.92 kB / 0.5356 GB, free: 9.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.3818, allocations: 20.62 kB / 0.5356 GB, free: 9.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.382, allocations: 330.2 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.3821, allocations: 28.69 kB / 0.5359 GB, free: 9.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.3822, allocations: 32.55 kB / 0.5359 GB, free: 9.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3823, allocations: 78 kB / 0.536 GB, free: 9.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3823, allocations: 0 / 0.536 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002158/0.3826, allocations: 117.2 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3826, allocations: 5.562 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3826, allocations: 0 / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3826, allocations: 1.094 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3827, allocations: 17.98 kB / 0.5362 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3827, allocations: 320 / 0.5362 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.3828, allocations: 11.11 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.3828, allocations: 2.469 kB / 0.5362 GB, free: 9.355 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.682e-05/0.3829, allocations: 133.2 kB / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.3829, allocations: 17.16 kB / 0.5363 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.3832, allocations: 126.2 kB / 0.5364 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3832, allocations: 1.156 kB / 0.5364 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.3832, allocations: 0 / 0.5364 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3833, allocations: 9.453 kB / 0.5364 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.3838, allocations: 426.7 kB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3838, allocations: 0 / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.796e-05/0.3839, allocations: 18.25 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3839, allocations: 4.969 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3839, allocations: 5.141 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3839, allocations: 1.281 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3839, allocations: 1.062 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.3842, allocations: 212.7 kB / 0.5371 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.3842, allocations: 87.55 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3842, allocations: 1.312 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.3843, allocations: 8.203 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.3844, allocations: 7.969 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3844, allocations: 9.078 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3845, allocations: 171.6 kB / 0.5374 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3845, allocations: 0 / 0.5374 GB, free: 8.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.3848, allocations: 27.09 kB / 0.5374 GB, free: 8.281 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.0009966/0.3858, allocations: 459.8 kB / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.386, allocations: 71.55 kB / 0.5379 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.386, allocations: 0 / 0.5379 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.3861, allocations: 47.69 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.3865, allocations: 25.94 kB / 0.538 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.387, allocations: 264.5 kB / 0.5382 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.3873, allocations: 0.7121 MB / 0.5389 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.3873, allocations: 24.3 kB / 0.5389 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.3874, allocations: 13.88 kB / 0.5389 GB, free: 7.051 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3874, allocations: 0 / 0.5389 GB, free: 7.051 MB / 398.1 MB Notification: Performance of Templates: time 0.00407/0.3915, allocations: 1.39 MB / 0.5403 GB, free: 6.344 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches