Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 72.11 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3855, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003003/0.3885, allocations: 1.62 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.3896, allocations: 0.5367 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.3896, allocations: 1.938 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.3899, allocations: 79.98 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.3903, allocations: 98.94 kB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.3906, allocations: 94.44 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3908, allocations: 80.94 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3909, allocations: 16.23 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.391, allocations: 36.41 kB / 0.5342 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.3911, allocations: 59.27 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3911, allocations: 4.125 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3912, allocations: 44.84 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.3913, allocations: 22.8 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.3913, allocations: 30.62 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.3915, allocations: 108.8 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3916, allocations: 0 / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3916, allocations: 1.375 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3916, allocations: 0 / 0.5344 GB, free: 11.52 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.0005207/0.3921, allocations: 417.4 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3922, allocations: 9.625 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.3922, allocations: 12.97 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.3924, allocations: 201.2 kB / 0.535 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3924, allocations: 5.75 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.3925, allocations: 3.125 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3926, allocations: 54.19 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3926, allocations: 3.906 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3927, allocations: 5.375 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3927, allocations: 0 / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.838e-05/0.3928, allocations: 35.02 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.3932, allocations: 288.3 kB / 0.5354 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3933, allocations: 45.62 kB / 0.5355 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.3934, allocations: 25.19 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3934, allocations: 5.438 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3934, allocations: 34.5 kB / 0.5355 GB, free: 10.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3934, allocations: 0 / 0.5355 GB, free: 10.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008812/0.3943, allocations: 225.9 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3944, allocations: 56.44 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.3946, allocations: 214.9 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3946, allocations: 26.86 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.3947, allocations: 105.8 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.3947, allocations: 26.06 kB / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.3948, allocations: 24.27 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3949, allocations: 326.5 kB / 0.5365 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.395, allocations: 29.3 kB / 0.5365 GB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.3951, allocations: 22.52 kB / 0.5365 GB, free: 9.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3952, allocations: 60.02 kB / 0.5366 GB, free: 9.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3952, allocations: 0 / 0.5366 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002058/0.3954, allocations: 104.5 kB / 0.5367 GB, free: 9.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3955, allocations: 13.83 kB / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3955, allocations: 0 / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3955, allocations: 1.188 kB / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3956, allocations: 17.67 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3956, allocations: 4.062 kB / 0.5367 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.3957, allocations: 7.188 kB / 0.5367 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3957, allocations: 2.031 kB / 0.5367 GB, free: 9.387 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.0001031/0.3958, allocations: 128.2 kB / 0.5369 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.3958, allocations: 17.25 kB / 0.5369 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.3961, allocations: 117 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3962, allocations: 1.156 kB / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3962, allocations: 0 / 0.537 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3962, allocations: 3.938 kB / 0.537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.3967, allocations: 407.4 kB / 0.5374 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3967, allocations: 4.031 kB / 0.5374 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.067e-05/0.3968, allocations: 17.8 kB / 0.5374 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3968, allocations: 5.125 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3968, allocations: 2.312 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3968, allocations: 3.938 kB / 0.5374 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3968, allocations: 1.219 kB / 0.5374 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.3971, allocations: 203.9 kB / 0.5376 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.3972, allocations: 88.17 kB / 0.5377 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3972, allocations: 5.188 kB / 0.5377 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.3973, allocations: 7.203 kB / 0.5377 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.3973, allocations: 3.531 kB / 0.5377 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3973, allocations: 6.812 kB / 0.5377 GB, free: 8.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3974, allocations: 173.1 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3975, allocations: 0 / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.3977, allocations: 24.69 kB / 0.5379 GB, free: 8.34 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.00109/0.3988, allocations: 461.5 kB / 0.5383 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.3991, allocations: 70.31 kB / 0.5384 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3991, allocations: 1.375 kB / 0.5384 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.3992, allocations: 37.17 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3995, allocations: 21.8 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.4001, allocations: 293 kB / 0.5388 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4004, allocations: 0.7106 MB / 0.5394 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.4004, allocations: 15 kB / 0.5395 GB, free: 7.09 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4004, allocations: 0 / 0.5395 GB, free: 7.09 MB / 398.1 MB Notification: Performance of Templates: time 0.003893/0.4043, allocations: 1.773 MB / 0.5412 GB, free: 6.164 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches