Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008884/0.0008885, allocations: 102.6 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2916/0.2916, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3719, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.4853, allocations: 88.25 MB / 0.5957 GB, free: 6.906 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.4856, allocations: 83.91 kB / 0.5958 GB, free: 6.828 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01027/0.4959, allocations: 4.442 MB / 0.6002 GB, free: 2.391 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4959, allocations: 0 / 0.6002 GB, free: 2.391 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.496, allocations: 8 kB / 0.6002 GB, free: 2.383 MB / 410.7 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.0003728/0.4963, allocations: 379.1 kB / 0.6005 GB, free: 1.965 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4964, allocations: 8.562 kB / 0.6005 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.4964, allocations: 7.906 kB / 0.6005 GB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.4966, allocations: 190.8 kB / 0.6007 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.4966, allocations: 4 kB / 0.6007 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.4967, allocations: 0 / 0.6007 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.4968, allocations: 71.34 kB / 0.6008 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.4968, allocations: 4 kB / 0.6008 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4968, allocations: 0 / 0.6008 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4969, allocations: 0 / 0.6008 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.4969, allocations: 31.86 kB / 0.6008 GB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.4973, allocations: 272.9 kB / 0.6011 GB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.4974, allocations: 46.56 kB / 0.6011 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.4975, allocations: 0 / 0.6011 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.4975, allocations: 38.56 kB / 0.6012 GB, free: 1.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.4975, allocations: 0 / 0.6012 GB, free: 1.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004856/0.498, allocations: 149.5 kB / 0.6013 GB, free: 1.031 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.498, allocations: 81.09 kB / 0.6014 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4982, allocations: 130.8 kB / 0.6015 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.4982, allocations: 29.7 kB / 0.6015 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.4982, allocations: 96.06 kB / 0.6016 GB, free: 0.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.4982, allocations: 15.75 kB / 0.6016 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.4983, allocations: 0 / 0.6016 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.4983, allocations: 322.8 kB / 0.602 GB, free: 336 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.4984, allocations: 19.98 kB / 0.602 GB, free: 316 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.225e-05/0.4985, allocations: 37.7 kB / 0.602 GB, free: 272 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.482e-05/0.4986, allocations: 24.17 kB / 0.602 GB, free: 248 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4986, allocations: 3.953 kB / 0.602 GB, free: 244 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001614/0.4987, allocations: 93.61 kB / 0.6021 GB, free: 144 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.4988, allocations: 4 kB / 0.6021 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.4988, allocations: 0 / 0.6021 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.4988, allocations: 0 / 0.6021 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.4988, allocations: 19.92 kB / 0.6022 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4989, allocations: 0 / 0.6022 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.122e-05/0.4989, allocations: 8 kB / 0.6022 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4989, allocations: 4 kB / 0.6022 GB, free: 108 kB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.525e-05/0.499, allocations: 117.8 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.499, allocations: 11.86 kB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.4993, allocations: 97.88 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4993, allocations: 0 / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4993, allocations: 7.984 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4993, allocations: 0 / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.4997, allocations: 358.5 kB / 0.6027 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4997, allocations: 0 / 0.6027 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.4998, allocations: 19.98 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4998, allocations: 3.938 kB / 0.6028 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4998, allocations: 0 / 0.6028 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4998, allocations: 0 / 0.6028 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4998, allocations: 0 / 0.6028 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.5, allocations: 195.3 kB / 0.6029 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.5, allocations: 85.11 kB / 0.603 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.5001, allocations: 256 / 0.603 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.5001, allocations: 11.98 kB / 0.603 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.5002, allocations: 7.938 kB / 0.603 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.5002, allocations: 0 / 0.603 GB, free: 15.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.99e-05/0.5003, allocations: 108.4 kB / 0.6031 GB, free: 14.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5003, allocations: 0 / 0.6031 GB, free: 14.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.5005, allocations: 31.91 kB / 0.6032 GB, free: 14.96 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008988/0.5014, allocations: 447.1 kB / 0.6036 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.5016, allocations: 59.91 kB / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5016, allocations: 0 / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.5017, allocations: 31.98 kB / 0.6037 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.5019, allocations: 19.88 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.5022, allocations: 168.8 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.5024, allocations: 0.6887 MB / 0.6045 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.082e-05/0.5025, allocations: 16.16 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.5025, allocations: 11.44 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5025, allocations: 4 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of Templates: time 0.003088/0.5056, allocations: 1.266 MB / 0.6058 GB, free: 12.38 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches