Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001691/0.001691, allocations: 183.3 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.931/1.931, 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.0008507/0.0008507, allocations: 94.84 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.2063/0.2063, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003456, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1494, allocations: 58.86 MB / 490.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.6066, allocations: 87.82 MB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.6069, allocations: 81.89 kB / 0.5646 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02064/0.6276, allocations: 7.685 MB / 0.5721 GB, free: 5.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6276, allocations: 0 / 0.5721 GB, free: 5.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.6277, allocations: 8.625 kB / 0.5721 GB, free: 5.434 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008308/0.6285, allocations: 0.534 MB / 0.5726 GB, free: 4.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6286, allocations: 8.562 kB / 0.5726 GB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.6286, allocations: 27.67 kB / 0.5727 GB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.6291, allocations: 296.2 kB / 0.573 GB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.6292, allocations: 7.5 kB / 0.573 GB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.6292, allocations: 8 kB / 0.573 GB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.6294, allocations: 99.05 kB / 0.5731 GB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.6295, allocations: 3.984 kB / 0.5731 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.6295, allocations: 3.75 kB / 0.5731 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.6295, allocations: 0 / 0.5731 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.6296, allocations: 47.48 kB / 0.5731 GB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.6303, allocations: 474.1 kB / 0.5736 GB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.6306, allocations: 116.2 kB / 0.5737 GB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.6306, allocations: 3.984 kB / 0.5737 GB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.6309, allocations: 123.4 kB / 0.5738 GB, free: 3.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.6309, allocations: 0 / 0.5738 GB, free: 3.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009257/0.6318, allocations: 373.8 kB / 0.5742 GB, free: 3.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.6319, allocations: 77.11 kB / 0.5742 GB, free: 3.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.6323, allocations: 399.8 kB / 0.5746 GB, free: 2.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.6323, allocations: 33.45 kB / 0.5746 GB, free: 2.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.6324, allocations: 150.5 kB / 0.5748 GB, free: 2.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.6325, allocations: 54.84 kB / 0.5748 GB, free: 2.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.6325, allocations: 3.875 kB / 0.5748 GB, free: 2.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6327, allocations: 338.4 kB / 0.5752 GB, free: 2.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.816e-05/0.6328, allocations: 43.59 kB / 0.5752 GB, free: 2.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.6329, allocations: 79.78 kB / 0.5753 GB, free: 2.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.633, allocations: 47.3 kB / 0.5753 GB, free: 2.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.633, allocations: 7.891 kB / 0.5753 GB, free: 2.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000318/0.6333, allocations: 187.7 kB / 0.5755 GB, free: 2.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6334, allocations: 6.656 kB / 0.5755 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6334, allocations: 192 / 0.5755 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6334, allocations: 12 kB / 0.5755 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.6336, allocations: 39.73 kB / 0.5756 GB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.6336, allocations: 4 kB / 0.5756 GB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/0.6337, allocations: 7.984 kB / 0.5756 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.6338, allocations: 7.875 kB / 0.5756 GB, free: 2.062 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001502/0.6339, allocations: 161.3 kB / 0.5757 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.634, allocations: 27.67 kB / 0.5758 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.6344, allocations: 226 kB / 0.576 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.6344, allocations: 0 / 0.576 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6344, allocations: 0 / 0.576 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.6344, allocations: 7.984 kB / 0.576 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.6353, allocations: 0.6763 MB / 0.5767 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6353, allocations: 12.02 kB / 0.5767 GB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/0.6354, allocations: 19.94 kB / 0.5767 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.6354, allocations: 4 kB / 0.5767 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.6354, allocations: 7.359 kB / 0.5767 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6354, allocations: 4 kB / 0.5767 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6354, allocations: 0 / 0.5767 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.6359, allocations: 410.9 kB / 0.5771 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.636, allocations: 122.8 kB / 0.5772 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.6361, allocations: 18.94 kB / 0.5772 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.6362, allocations: 15.88 kB / 0.5772 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.6363, allocations: 11.98 kB / 0.5773 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.6363, allocations: 15.73 kB / 0.5773 GB, free: 424 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003004/0.6366, allocations: 310.8 kB / 0.5776 GB, free: 184 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6366, allocations: 0 / 0.5776 GB, free: 184 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.637, allocations: 66.42 kB / 0.5776 GB, free: 124 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001162/0.6381, allocations: 478.5 kB / 0.5781 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.6384, allocations: 116.1 kB / 0.5782 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6385, allocations: 0 / 0.5782 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.6386, allocations: 65.91 kB / 0.5783 GB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.639, allocations: 55.11 kB / 0.5783 GB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008847/0.6399, allocations: 0.5601 MB / 0.5789 GB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.6403, allocations: 0.7747 MB / 0.5796 GB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.6404, allocations: 45.45 kB / 0.5797 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.6405, allocations: 38.73 kB / 0.5797 GB, free: 14.12 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6405, allocations: 0 / 0.5797 GB, free: 14.12 MB / 394.7 MB Notification: Performance of Templates: time 0.00656/0.6471, allocations: 2.902 MB / 0.5825 GB, free: 11.23 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches