Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 83.86 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4068, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003563/0.4104, allocations: 1.613 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.4124, allocations: 1.17 MB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.4125, allocations: 0 / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.4128, allocations: 29.33 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.4131, allocations: 85.73 kB / 0.5338 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.4134, allocations: 86.34 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.4137, allocations: 82 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.4138, allocations: 21.61 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.4138, allocations: 26.92 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004543/0.4143, allocations: 32.22 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.4143, allocations: 4.125 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.4145, allocations: 104.1 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.4146, allocations: 20.05 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.4147, allocations: 29.3 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.415, allocations: 145.3 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.415, allocations: 5.312 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.415, allocations: 4 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.415, allocations: 0 / 0.5344 GB, free: 11.01 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006054/0.4156, allocations: 412.3 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4157, allocations: 9.625 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.4157, allocations: 8.969 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.416, allocations: 193.7 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.416, allocations: 7.031 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.416, allocations: 6.906 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.4162, allocations: 81.05 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4162, allocations: 0 / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4163, allocations: 5.562 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4163, allocations: 0 / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.4164, allocations: 30.5 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.4169, allocations: 294.2 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.417, allocations: 63.12 kB / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.4171, allocations: 18.33 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.4171, allocations: 5.297 kB / 0.5355 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.4172, allocations: 31.84 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.4172, allocations: 0 / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006821/0.4179, allocations: 181.1 kB / 0.5357 GB, free: 9.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.4179, allocations: 78.39 kB / 0.5357 GB, free: 9.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.4182, allocations: 162.9 kB / 0.5359 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.4182, allocations: 30.7 kB / 0.5359 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.4183, allocations: 95.47 kB / 0.536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.4183, allocations: 23.09 kB / 0.536 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.4184, allocations: 24.7 kB / 0.5361 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4185, allocations: 325.1 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.4186, allocations: 21.67 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.487e-05/0.4187, allocations: 46.64 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.4188, allocations: 63.8 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4188, allocations: 1.219 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002161/0.4191, allocations: 102.2 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4191, allocations: 5.5 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4191, allocations: 0 / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4191, allocations: 5.125 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4192, allocations: 17.73 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4192, allocations: 1.094 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.4193, allocations: 11.44 kB / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4193, allocations: 2.125 kB / 0.5366 GB, free: 8.863 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.446e-05/0.4194, allocations: 126.1 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.4195, allocations: 9.062 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.4197, allocations: 113.3 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4198, allocations: 2.5 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4198, allocations: 384 / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4198, allocations: 3.938 kB / 0.5369 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.4203, allocations: 392.3 kB / 0.5372 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4203, allocations: 4 kB / 0.5373 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.239e-05/0.4204, allocations: 22.17 kB / 0.5373 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4204, allocations: 3.938 kB / 0.5373 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.4204, allocations: 1.094 kB / 0.5373 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4204, allocations: 1.062 kB / 0.5373 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4204, allocations: 0 / 0.5373 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.4206, allocations: 202.8 kB / 0.5375 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.637e-05/0.4208, allocations: 87.75 kB / 0.5376 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.4208, allocations: 9.312 kB / 0.5376 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.4209, allocations: 2.594 kB / 0.5376 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.4209, allocations: 7.359 kB / 0.5376 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.4209, allocations: 2.375 kB / 0.5376 GB, free: 7.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.412e-05/0.421, allocations: 115.7 kB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.421, allocations: 0 / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.4213, allocations: 46.27 kB / 0.5377 GB, free: 7.859 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.001146/0.4225, allocations: 489.6 kB / 0.5382 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.4227, allocations: 67.08 kB / 0.5383 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4227, allocations: 0 / 0.5383 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.184e-05/0.4228, allocations: 37.34 kB / 0.5383 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.4232, allocations: 15.98 kB / 0.5383 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.4238, allocations: 198.2 kB / 0.5385 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.4241, allocations: 0.692 MB / 0.5392 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.217e-05/0.4242, allocations: 13.69 kB / 0.5392 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.4242, allocations: 23.66 kB / 0.5392 GB, free: 6.664 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4242, allocations: 0 / 0.5392 GB, free: 6.664 MB / 398.1 MB Notification: Performance of Templates: time 0.005062/0.4293, allocations: 1.846 MB / 0.541 GB, free: 5.707 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches