Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007923/0.0007923, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1834/0.1834, allocations: 46.19 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002478/0.0002479, allocations: 8.281 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09442/0.09468, allocations: 63.57 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.00171/0.09643, allocations: 1.31 MB / 485 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000873/0.09732, allocations: 0.5224 MB / 485.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.09737, allocations: 0 / 485.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.09756, allocations: 23.92 kB / 485.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.09775, allocations: 71.69 kB / 485.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.09802, allocations: 95.83 kB / 485.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.09816, allocations: 63.83 kB / 485.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.867e-05/0.09824, allocations: 4 kB / 485.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.09829, allocations: 23.86 kB / 485.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.09835, allocations: 19.86 kB / 485.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.09837, allocations: 0 / 485.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.937e-05/0.09844, allocations: 35.98 kB / 485.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.09849, allocations: 11.98 kB / 485.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.09854, allocations: 53.44 kB / 486 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.09866, allocations: 67.84 kB / 486 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.09867, allocations: 0 / 486 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.09867, allocations: 0 / 486 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.09869, allocations: 3.938 kB / 486 MB, free: 1.844 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.0003795/0.09907, allocations: 375.5 kB / 486.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.09911, allocations: 8.875 kB / 486.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.09915, allocations: 12.84 kB / 486.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.09932, allocations: 188.2 kB / 486.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.09933, allocations: 384 / 486.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.09935, allocations: 384 / 486.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.09949, allocations: 57.8 kB / 486.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.09951, allocations: 7.938 kB / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.09952, allocations: 0 / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.09953, allocations: 0 / 486.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.09963, allocations: 27.98 kB / 486.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.09998, allocations: 296.7 kB / 487 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1002, allocations: 46.5 kB / 487 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.1002, allocations: 24.94 kB / 487.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1003, allocations: 0 / 487.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1003, allocations: 34.56 kB / 487.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1003, allocations: 0 / 487.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005389/0.1009, allocations: 169.3 kB / 487.3 MB, free: 464 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1009, allocations: 51.41 kB / 487.3 MB, free: 400 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.101, allocations: 165.8 kB / 487.5 MB, free: 224 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1011, allocations: 29.7 kB / 487.5 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.1011, allocations: 104.1 kB / 487.6 MB, free: 80 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.1011, allocations: 11.75 kB / 487.6 MB, free: 68 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.1012, allocations: 17.72 kB / 487.6 MB, free: 44 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1013, allocations: 318.8 kB / 487.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.1014, allocations: 23.98 kB / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.1015, allocations: 27.97 kB / 488 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.1016, allocations: 64.83 kB / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1016, allocations: 0 / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001887/0.1018, allocations: 93.52 kB / 488.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1018, allocations: 10.19 kB / 488.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1018, allocations: 256 / 488.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1019, allocations: 3.984 kB / 488.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.1019, allocations: 20 kB / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1019, allocations: 0 / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.102, allocations: 11.92 kB / 488.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.102, allocations: 0 / 488.2 MB, free: 15.46 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.288e-05/0.1021, allocations: 121.8 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.1021, allocations: 7.906 kB / 488.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.1024, allocations: 109.9 kB / 488.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1024, allocations: 0 / 488.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1024, allocations: 4.219 kB / 488.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1024, allocations: 7.938 kB / 488.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.1028, allocations: 358.5 kB / 488.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1028, allocations: 4 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.1029, allocations: 19.91 kB / 488.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1029, allocations: 8 kB / 488.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1029, allocations: 3.938 kB / 488.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1029, allocations: 0 / 488.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1029, allocations: 0 / 488.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1032, allocations: 191.4 kB / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.1032, allocations: 89 kB / 489.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1032, allocations: 7.938 kB / 489.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.1033, allocations: 8 kB / 489.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.1034, allocations: 3.984 kB / 489.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1034, allocations: 4 kB / 489.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.151e-05/0.1035, allocations: 130.6 kB / 489.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1035, allocations: 0 / 489.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1037, allocations: 20 kB / 489.3 MB, free: 14.29 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.0008654/0.1046, allocations: 404.7 kB / 489.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1048, allocations: 51.97 kB / 489.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1048, allocations: 0 / 489.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.1049, allocations: 35.97 kB / 489.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.1052, allocations: 19.92 kB / 489.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.1056, allocations: 250.9 kB / 490 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.1059, allocations: 0.7043 MB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.1059, allocations: 11.44 kB / 490.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1059, allocations: 0 / 490.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Templates: time 0.002835/0.1087, allocations: 1.469 MB / 492.2 MB, free: 11.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches