Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009232/0.0009232, allocations: 93.67 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 204.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 247.5 MB, free: 9.461 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1861/0.1861, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002334/0.0002334, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09356, allocations: 63.56 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.001686/0.09528, allocations: 1.31 MB / 485 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.09677, allocations: 1.121 MB / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.09682, allocations: 0 / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.09701, allocations: 19.92 kB / 486.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.09722, allocations: 67.75 kB / 486.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.09745, allocations: 79.22 kB / 486.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.09757, allocations: 63.83 kB / 486.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.09767, allocations: 16 kB / 486.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.09772, allocations: 23.84 kB / 486.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.09785, allocations: 27.86 kB / 486.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.09787, allocations: 0 / 486.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.09802, allocations: 99.88 kB / 486.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.09807, allocations: 7.984 kB / 486.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.09812, allocations: 53.5 kB / 486.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.09828, allocations: 91.86 kB / 486.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.09829, allocations: 4 kB / 486.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.0983, allocations: 3.938 kB / 486.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.09831, allocations: 3.938 kB / 486.7 MB, free: 1.133 MB / 350.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.0004159/0.09873, allocations: 395.5 kB / 487.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.09877, allocations: 8.875 kB / 487.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.09881, allocations: 8.844 kB / 487.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.09898, allocations: 188.2 kB / 487.3 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.099, allocations: 384 / 487.3 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.09902, allocations: 8.375 kB / 487.3 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.09917, allocations: 67.53 kB / 487.4 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.09918, allocations: 0 / 487.4 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.0992, allocations: 4 kB / 487.4 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.09921, allocations: 0 / 487.4 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.09932, allocations: 31.91 kB / 487.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.09964, allocations: 284.8 kB / 487.7 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.09984, allocations: 38.56 kB / 487.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.09991, allocations: 20.92 kB / 487.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.09994, allocations: 11.98 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.09997, allocations: 42.44 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.09998, allocations: 0 / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005485/0.1005, allocations: 153.4 kB / 488 MB, free: 15.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1006, allocations: 85.03 kB / 488 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1007, allocations: 144.5 kB / 488.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1007, allocations: 29.7 kB / 488.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.1008, allocations: 92.05 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.1008, allocations: 19.8 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.1008, allocations: 9.719 kB / 488.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.101, allocations: 330.8 kB / 488.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.101, allocations: 19.98 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.1011, allocations: 33.7 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1013, allocations: 56.86 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1013, allocations: 0 / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001962/0.1015, allocations: 97.7 kB / 488.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1015, allocations: 8 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1015, allocations: 0 / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1015, allocations: 0 / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.1016, allocations: 15.98 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1016, allocations: 0 / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.1017, allocations: 8 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1017, allocations: 3.938 kB / 488.9 MB, free: 14.72 MB / 366.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 7.959e-05/0.1018, allocations: 117.8 kB / 489 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1018, allocations: 11.91 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.102, allocations: 101.9 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1021, allocations: 3.938 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1021, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1021, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.1025, allocations: 358.5 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1025, allocations: 0 / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.1026, allocations: 15.98 kB / 489.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1026, allocations: 0 / 489.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.1026, allocations: 0 / 489.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1026, allocations: 15.86 kB / 489.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1026, allocations: 4 kB / 489.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.1028, allocations: 183.4 kB / 489.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.1029, allocations: 89 kB / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1029, allocations: 8.25 kB / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.103, allocations: 11.94 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.103, allocations: 7.984 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.103, allocations: 4 kB / 489.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.436e-05/0.1031, allocations: 107.3 kB / 489.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1031, allocations: 0 / 489.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1034, allocations: 39.98 kB / 489.9 MB, free: 13.56 MB / 366.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.001026/0.1045, allocations: 496.9 kB / 490.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1047, allocations: 63.91 kB / 490.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1047, allocations: 0 / 490.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.1048, allocations: 27.98 kB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.1051, allocations: 18.8 kB / 490.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.1054, allocations: 214.4 kB / 490.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.1057, allocations: 0.6965 MB / 491.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.1057, allocations: 19.42 kB / 491.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1057, allocations: 0 / 491.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Templates: time 0.003311/0.109, allocations: 1.91 MB / 493.4 MB, free: 10.23 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches