Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 186.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2962/0.2962, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004307, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 58.85 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4653/0.623, allocations: 86.39 MB / 0.5631 GB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.6233, allocations: 74.14 kB / 0.5632 GB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01026/0.6336, allocations: 3.848 MB / 0.5669 GB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6337, allocations: 0 / 0.5669 GB, free: 10.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.6337, allocations: 4 kB / 0.5669 GB, free: 10.06 MB / 378.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.0005949/0.6343, allocations: 401.2 kB / 0.5673 GB, free: 9.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.6344, allocations: 16.02 kB / 0.5673 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.6344, allocations: 11.91 kB / 0.5674 GB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.6347, allocations: 202.6 kB / 0.5675 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.6348, allocations: 3.312 kB / 0.5675 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.6348, allocations: 4 kB / 0.5676 GB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.6349, allocations: 45.56 kB / 0.5676 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.635, allocations: 0 / 0.5676 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.635, allocations: 0 / 0.5676 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.635, allocations: 0 / 0.5676 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.6351, allocations: 30.8 kB / 0.5676 GB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.6356, allocations: 285.4 kB / 0.5679 GB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.6358, allocations: 45.25 kB / 0.5679 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.6358, allocations: 4 kB / 0.5679 GB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6358, allocations: 30.56 kB / 0.568 GB, free: 8.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6358, allocations: 0 / 0.568 GB, free: 8.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005643/0.6364, allocations: 166.7 kB / 0.5681 GB, free: 8.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.6365, allocations: 51.41 kB / 0.5682 GB, free: 8.676 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.6367, allocations: 177.5 kB / 0.5683 GB, free: 8.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.6367, allocations: 25.7 kB / 0.5684 GB, free: 8.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.6367, allocations: 98.5 kB / 0.5685 GB, free: 8.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.6368, allocations: 23.61 kB / 0.5685 GB, free: 8.375 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.6368, allocations: 0 / 0.5685 GB, free: 8.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6369, allocations: 322.6 kB / 0.5688 GB, free: 8.055 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.856e-05/0.637, allocations: 22.92 kB / 0.5688 GB, free: 8.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.6371, allocations: 27.17 kB / 0.5688 GB, free: 8.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.734e-05/0.6371, allocations: 27.05 kB / 0.5689 GB, free: 7.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6371, allocations: 0 / 0.5689 GB, free: 7.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001711/0.6373, allocations: 88.8 kB / 0.569 GB, free: 7.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.6373, allocations: 4 kB / 0.569 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6374, allocations: 3.984 kB / 0.569 GB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.6374, allocations: 7.938 kB / 0.569 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.6375, allocations: 16 kB / 0.569 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.6375, allocations: 0 / 0.569 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.6375, allocations: 11.17 kB / 0.569 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.6375, allocations: 4.203 kB / 0.569 GB, free: 7.863 MB / 378.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 0.0001123/0.6376, allocations: 121.3 kB / 0.5691 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.6377, allocations: 11.91 kB / 0.5691 GB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.6379, allocations: 113.7 kB / 0.5692 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6379, allocations: 0 / 0.5692 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.638, allocations: 0 / 0.5692 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.638, allocations: 288 / 0.5692 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.6385, allocations: 371.2 kB / 0.5696 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6385, allocations: 0 / 0.5696 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.6385, allocations: 15.98 kB / 0.5696 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.6385, allocations: 0 / 0.5696 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.6386, allocations: 3.984 kB / 0.5696 GB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.6386, allocations: 4 kB / 0.5696 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6386, allocations: 0 / 0.5696 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.6388, allocations: 190.9 kB / 0.5698 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.6389, allocations: 96.31 kB / 0.5699 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.6389, allocations: 0 / 0.5699 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.639, allocations: 11.98 kB / 0.5699 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.639, allocations: 4 kB / 0.5699 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.639, allocations: 7.188 kB / 0.5699 GB, free: 6.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.6392, allocations: 148 kB / 0.5701 GB, free: 6.758 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6392, allocations: 0 / 0.5701 GB, free: 6.758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000235/0.6394, allocations: 23.47 kB / 0.5701 GB, free: 6.738 MB / 378.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.0009233/0.6404, allocations: 411.4 kB / 0.5705 GB, free: 6.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.6406, allocations: 54.91 kB / 0.5705 GB, free: 6.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6406, allocations: 0 / 0.5705 GB, free: 6.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.6406, allocations: 34.48 kB / 0.5706 GB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.6409, allocations: 11.48 kB / 0.5706 GB, free: 6.309 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.6413, allocations: 226.6 kB / 0.5708 GB, free: 6.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.6416, allocations: 0.7113 MB / 0.5715 GB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.737e-05/0.6417, allocations: 8.188 kB / 0.5715 GB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.6417, allocations: 15.44 kB / 0.5715 GB, free: 5.312 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6417, allocations: 0 / 0.5715 GB, free: 5.312 MB / 378.7 MB Notification: Performance of Templates: time 0.003671/0.6454, allocations: 1.116 MB / 0.5726 GB, free: 4.207 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches