Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001198/0.001199, allocations: 191.4 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2106/0.2106, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 68.66 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09181, allocations: 57.8 MB / 441.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002864/0.09471, allocations: 1.544 MB / 442.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.09591, allocations: 0.9416 MB / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.587e-05/0.09601, allocations: 4 kB / 443.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.09625, allocations: 15.86 kB / 443.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.09647, allocations: 43.83 kB / 443.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.09674, allocations: 71.8 kB / 443.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.09687, allocations: 55.89 kB / 443.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.09698, allocations: 15.92 kB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.09703, allocations: 19.88 kB / 443.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.09717, allocations: 35.83 kB / 443.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.09719, allocations: 4 kB / 443.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.0973, allocations: 39.98 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.09735, allocations: 15.92 kB / 444 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.09739, allocations: 27.86 kB / 444 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.09757, allocations: 83.78 kB / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.09758, allocations: 0 / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09759, allocations: 0 / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.0976, allocations: 0 / 444.1 MB, free: 3.957 MB / 318.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.0003668/0.09797, allocations: 379.2 kB / 444.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.09801, allocations: 11.89 kB / 444.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.09806, allocations: 4.938 kB / 444.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.0982, allocations: 196.1 kB / 444.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.09822, allocations: 384 / 444.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.09825, allocations: 8.312 kB / 444.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.09842, allocations: 67.52 kB / 444.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.09844, allocations: 0 / 444.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.09847, allocations: 4 kB / 444.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.09848, allocations: 0 / 444.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.09857, allocations: 19.98 kB / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.09883, allocations: 276.8 kB / 445.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.09901, allocations: 38.56 kB / 445.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.09906, allocations: 20.94 kB / 445.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.09909, allocations: 7.938 kB / 445.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.09911, allocations: 30.56 kB / 445.1 MB, free: 2.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.09911, allocations: 0 / 445.1 MB, free: 2.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004789/0.0996, allocations: 133.3 kB / 445.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.09964, allocations: 85.11 kB / 445.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.09974, allocations: 133.6 kB / 445.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.09975, allocations: 25.7 kB / 445.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.09979, allocations: 99.98 kB / 445.6 MB, free: 2.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.09981, allocations: 15.8 kB / 445.6 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.09984, allocations: 17.72 kB / 445.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.09989, allocations: 318.8 kB / 446 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.09995, allocations: 19.98 kB / 446 MB, free: 1.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/0.1, allocations: 37.69 kB / 446 MB, free: 1.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1001, allocations: 40.84 kB / 446.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1001, allocations: 0 / 446.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001545/0.1003, allocations: 77.56 kB / 446.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1003, allocations: 8 kB / 446.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1003, allocations: 4.281 kB / 446.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1004, allocations: 0 / 446.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.1004, allocations: 19.94 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1004, allocations: 0 / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.1005, allocations: 7.984 kB / 446.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1005, allocations: 4 kB / 446.2 MB, free: 1.648 MB / 318.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 5.293e-05/0.1005, allocations: 117.7 kB / 446.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.1006, allocations: 4 kB / 446.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.1008, allocations: 93.81 kB / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1008, allocations: 3.938 kB / 446.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1008, allocations: 0 / 446.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1008, allocations: 7.969 kB / 446.4 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.1011, allocations: 350.4 kB / 446.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1011, allocations: 0 / 446.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.1012, allocations: 15.98 kB / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1012, allocations: 0 / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.1012, allocations: 4 kB / 446.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1012, allocations: 3.938 kB / 446.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1012, allocations: 0 / 446.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.1014, allocations: 175.4 kB / 446.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.1014, allocations: 81.09 kB / 447 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1014, allocations: 4 kB / 447 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/0.1015, allocations: 8.125 kB / 447 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.1016, allocations: 11.98 kB / 447 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.1016, allocations: 4 kB / 447 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.567e-05/0.1016, allocations: 107.2 kB / 447.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1016, allocations: 0 / 447.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1019, allocations: 20 kB / 447.2 MB, free: 0.5508 MB / 318.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.0008681/0.1028, allocations: 446.1 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.103, allocations: 51.89 kB / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.103, allocations: 0 / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.315e-05/0.103, allocations: 23.98 kB / 447.7 MB, free: 124 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1034, allocations: 12 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.1038, allocations: 183.2 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.104, allocations: 0.6885 MB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.1041, allocations: 23.36 kB / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1041, allocations: 0 / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Templates: time 0.00332/0.1074, allocations: 1.538 MB / 450.1 MB, free: 13.62 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches