Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 108.3 kB / 18.4 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001586, allocations: 187 kB / 19.34 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.19 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.09373, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002307/0.09606, allocations: 1.659 MB / 472.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006673/0.09674, allocations: 479 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.0968, allocations: 3.938 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.09693, allocations: 23.84 kB / 472.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.09709, allocations: 39.78 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.09743, allocations: 185.6 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.09756, allocations: 87.75 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.595e-05/0.09764, allocations: 16.23 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.0977, allocations: 39.83 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.09776, allocations: 35.84 kB / 473.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.09779, allocations: 8 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.683e-05/0.09788, allocations: 55.97 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.09793, allocations: 19.92 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.09797, allocations: 31.8 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.09813, allocations: 123.5 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.09814, allocations: 3.938 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09815, allocations: 4 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.09816, allocations: 0 / 473.5 MB, free: 10.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004278/0.09859, allocations: 415.1 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.447e-05/0.09862, allocations: 12.03 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.09865, allocations: 8.844 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.09881, allocations: 196.1 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.09883, allocations: 8.375 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.09885, allocations: 4.375 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.09908, allocations: 103.4 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.09909, allocations: 0 / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.0991, allocations: 0 / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-06/0.09911, allocations: 4 kB / 474.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.09937, allocations: 71.92 kB / 474.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.09983, allocations: 336.7 kB / 474.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.1, allocations: 78.52 kB / 474.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1002, allocations: 48.94 kB / 474.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1002, allocations: 7.984 kB / 474.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.1002, allocations: 30.56 kB / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1002, allocations: 0 / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00131/0.1016, allocations: 416.8 kB / 475.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1016, allocations: 77.11 kB / 475.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.1017, allocations: 148.2 kB / 475.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1017, allocations: 25.7 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.1018, allocations: 100.1 kB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.1018, allocations: 31.55 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.1019, allocations: 25.72 kB / 475.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.1019, allocations: 322.8 kB / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.1022, allocations: 79.91 kB / 476 MB, free: 8.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.1024, allocations: 97.62 kB / 476.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.1029, allocations: 168.9 kB / 476.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1029, allocations: 4.031 kB / 476.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005331/0.1035, allocations: 209.4 kB / 476.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1035, allocations: 7.984 kB / 476.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.1035, allocations: 3.938 kB / 476.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.1035, allocations: 4 kB / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.1037, allocations: 35.97 kB / 476.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.1037, allocations: 0 / 476.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1038, allocations: 31.89 kB / 476.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1039, allocations: 0 / 476.5 MB, free: 7.574 MB / 350.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 (10): * Single equations (assignments): 10 * 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.645e-05/0.1039, allocations: 125.8 kB / 476.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.104, allocations: 7.906 kB / 476.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.1045, allocations: 222.1 kB / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1046, allocations: 0 / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1046, allocations: 8 kB / 476.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1046, allocations: 7.922 kB / 476.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007751/0.1054, allocations: 0.5022 MB / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1054, allocations: 0 / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.1055, allocations: 35.95 kB / 477.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1055, allocations: 4.219 kB / 477.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1056, allocations: 0 / 477.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1056, allocations: 4.375 kB / 477.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1056, allocations: 3.938 kB / 477.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.1061, allocations: 303.2 kB / 477.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.1062, allocations: 88.95 kB / 477.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1062, allocations: 4 kB / 477.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.1063, allocations: 23.97 kB / 477.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1064, allocations: 11.98 kB / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1064, allocations: 4 kB / 477.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.091e-05/0.1065, allocations: 115.2 kB / 478 MB, free: 6.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1065, allocations: 0 / 478 MB, free: 6.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1067, allocations: 32 kB / 478 MB, free: 5.984 MB / 350.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 (9): * Single equations (assignments): 9 * 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.0008197/0.1075, allocations: 471 kB / 478.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000546/0.1081, allocations: 171.8 kB / 478.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1081, allocations: 0 / 478.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.1084, allocations: 91.86 kB / 478.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.1086, allocations: 16.36 kB / 478.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.109, allocations: 237.8 kB / 479 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.1092, allocations: 0.7041 MB / 479.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.325e-05/0.1093, allocations: 32.34 kB / 479.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.1093, allocations: 23.42 kB / 479.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1093, allocations: 0 / 479.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of Templates: time 0.1013/0.2107, allocations: 2.157 MB / 481.9 MB, free: 2.234 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches