Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 121.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 75.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3859, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.004075/0.39, allocations: 1.6 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3921, allocations: 1.152 MB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.3922, allocations: 1.344 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.3925, allocations: 24.56 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.3929, allocations: 85.52 kB / 0.5338 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.3932, allocations: 93.92 kB / 0.5339 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.3934, allocations: 63.45 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3936, allocations: 18.27 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.3937, allocations: 25.59 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004452/0.3941, allocations: 38.33 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3941, allocations: 4.719 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.3944, allocations: 98.45 kB / 0.5341 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.3945, allocations: 11.53 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.3945, allocations: 24.58 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.395, allocations: 138.6 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.395, allocations: 0 / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.395, allocations: 0.9688 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.395, allocations: 4 kB / 0.5343 GB, free: 11.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000604/0.3956, allocations: 400.2 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3957, allocations: 9.062 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.3957, allocations: 8.625 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.396, allocations: 197.4 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.396, allocations: 1.625 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.396, allocations: 1.656 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.3962, allocations: 67.91 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3962, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3963, allocations: 1.375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3963, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.3964, allocations: 25.72 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.3968, allocations: 282.7 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.397, allocations: 48.38 kB / 0.5353 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.3971, allocations: 14.44 kB / 0.5353 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.3971, allocations: 5.375 kB / 0.5353 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3971, allocations: 31.94 kB / 0.5353 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.3972, allocations: 0 / 0.5353 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006475/0.3978, allocations: 141.8 kB / 0.5355 GB, free: 9.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.3979, allocations: 81.09 kB / 0.5356 GB, free: 9.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.3981, allocations: 145.2 kB / 0.5357 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3981, allocations: 25.7 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.3982, allocations: 92.27 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.3982, allocations: 25.02 kB / 0.5358 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3982, allocations: 13.84 kB / 0.5358 GB, free: 9.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3984, allocations: 329.5 kB / 0.5362 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.06e-05/0.3984, allocations: 22.92 kB / 0.5362 GB, free: 9.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-05/0.3985, allocations: 30.27 kB / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3987, allocations: 51.73 kB / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3987, allocations: 0 / 0.5363 GB, free: 9.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.3989, allocations: 81.11 kB / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3989, allocations: 5.344 kB / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3989, allocations: 0 / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.399, allocations: 1.062 kB / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.399, allocations: 17.8 kB / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.399, allocations: 0 / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.3991, allocations: 8.062 kB / 0.5364 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3991, allocations: 8.953 kB / 0.5364 GB, free: 8.988 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 (5): * Single equations (assignments): 5 * 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.454e-05/0.3992, allocations: 118.3 kB / 0.5365 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.3993, allocations: 7.188 kB / 0.5365 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.3995, allocations: 93.47 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3995, allocations: 0 / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3995, allocations: 1.188 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3995, allocations: 0 / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.4, allocations: 354.6 kB / 0.5369 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4, allocations: 4 kB / 0.5369 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.4001, allocations: 9.875 kB / 0.5369 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4001, allocations: 1.094 kB / 0.5369 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.4001, allocations: 4.125 kB / 0.5369 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.4001, allocations: 12.95 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4001, allocations: 0 / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.4003, allocations: 176.7 kB / 0.5371 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.4004, allocations: 86.7 kB / 0.5372 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.4004, allocations: 5.547 kB / 0.5372 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.4005, allocations: 6.406 kB / 0.5372 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.4005, allocations: 2.531 kB / 0.5372 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.4006, allocations: 1.094 kB / 0.5372 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.583e-05/0.4007, allocations: 114.3 kB / 0.5373 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4007, allocations: 0 / 0.5373 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.401, allocations: 43.98 kB / 0.5374 GB, free: 8.035 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 (5): * Single equations (assignments): 5 * 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.001173/0.4021, allocations: 0.4895 MB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.4024, allocations: 52.55 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4024, allocations: 0 / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.746e-05/0.4025, allocations: 23.39 kB / 0.5379 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.4029, allocations: 20.08 kB / 0.5379 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.4033, allocations: 161.6 kB / 0.5381 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4036, allocations: 0.6937 MB / 0.5388 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.679e-05/0.4037, allocations: 14.3 kB / 0.5388 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.4037, allocations: 14.06 kB / 0.5388 GB, free: 6.871 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4037, allocations: 0 / 0.5388 GB, free: 6.871 MB / 398.1 MB Notification: Performance of Templates: time 0.004959/0.4087, allocations: 1.748 MB / 0.5405 GB, free: 5.961 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches