Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009764/0.0009765, allocations: 93.91 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.001398/0.001398, allocations: 197.5 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.333/1.333, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1896/0.1896, allocations: 46.19 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002447/0.0002446, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09613/0.09639, allocations: 63.56 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.001869/0.09829, allocations: 1.389 MB / 485.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.09929, allocations: 0.5691 MB / 485.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.09937, allocations: 3.938 kB / 485.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.09959, allocations: 43.88 kB / 485.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.09982, allocations: 79.73 kB / 485.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.1002, allocations: 163.5 kB / 486 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1004, allocations: 79.77 kB / 486.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1005, allocations: 24.2 kB / 486.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.1006, allocations: 27.86 kB / 486.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.1007, allocations: 43.83 kB / 486.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1007, allocations: 0 / 486.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1008, allocations: 47.98 kB / 486.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.1009, allocations: 23.86 kB / 486.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.1009, allocations: 57.42 kB / 486.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1011, allocations: 75.89 kB / 486.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1011, allocations: 4 kB / 486.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1011, allocations: 3.938 kB / 486.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1011, allocations: 0 / 486.4 MB, free: 1.488 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004487/0.1016, allocations: 399.4 kB / 486.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1016, allocations: 8.031 kB / 486.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.1017, allocations: 12.84 kB / 486.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.1018, allocations: 204 kB / 487 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1019, allocations: 4.375 kB / 487 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.1019, allocations: 384 / 487 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1021, allocations: 85.72 kB / 487.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1021, allocations: 0 / 487.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1021, allocations: 4 kB / 487.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1021, allocations: 4 kB / 487.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.1023, allocations: 47.97 kB / 487.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.1027, allocations: 324.6 kB / 487.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.1029, allocations: 62.55 kB / 487.5 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.103, allocations: 32.97 kB / 487.5 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.103, allocations: 3.984 kB / 487.5 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1031, allocations: 42.59 kB / 487.6 MB, free: 120 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1031, allocations: 0 / 487.6 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001595/0.1047, allocations: 496.9 kB / 488.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1047, allocations: 59.34 kB / 488.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1049, allocations: 178.1 kB / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1049, allocations: 25.7 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.105, allocations: 108.1 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.105, allocations: 31.47 kB / 488.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.1051, allocations: 21.7 kB / 488.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1052, allocations: 322.8 kB / 488.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.1053, allocations: 63.91 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.1055, allocations: 63.95 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.1058, allocations: 149 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1058, allocations: 0 / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003633/0.1062, allocations: 185.4 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1062, allocations: 10.19 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1062, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1062, allocations: 0 / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1063, allocations: 31.92 kB / 489.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1064, allocations: 7.922 kB / 489.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.1064, allocations: 12 kB / 489.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1065, allocations: 4 kB / 489.3 MB, free: 14.32 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 (11): * Single equations (assignments): 11 * 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.0001015/0.1066, allocations: 133.8 kB / 489.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.1066, allocations: 11.81 kB / 489.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.107, allocations: 206.9 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1071, allocations: 3.938 kB / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1071, allocations: 0 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1071, allocations: 0 / 489.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.1078, allocations: 0.5156 MB / 490.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1078, allocations: 3.938 kB / 490.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1079, allocations: 39.91 kB / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1079, allocations: 4 kB / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1079, allocations: 0 / 490.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1079, allocations: 4 kB / 490.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.108, allocations: 0 / 490.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.1084, allocations: 293 kB / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.1084, allocations: 85.02 kB / 490.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.1084, allocations: 11.98 kB / 490.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1086, allocations: 8 kB / 490.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.1086, allocations: 11.92 kB / 490.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1086, allocations: 8 kB / 490.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1087, allocations: 146.3 kB / 490.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1087, allocations: 0 / 490.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.109, allocations: 28 kB / 490.8 MB, free: 12.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.000997/0.11, allocations: 450.7 kB / 491.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.1104, allocations: 147.8 kB / 491.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1104, allocations: 4 kB / 491.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1106, allocations: 75.89 kB / 491.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1109, allocations: 23.92 kB / 491.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.1115, allocations: 368.6 kB / 491.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1118, allocations: 0.7199 MB / 492.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.1118, allocations: 15.44 kB / 492.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1118, allocations: 0 / 492.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of Templates: time 0.003591/0.1154, allocations: 2.005 MB / 494.6 MB, free: 9.016 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches