Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 182.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.747/1.747, 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.0008998/0.0008998, allocations: 90.84 kB / 270.2 MB, free: 13.37 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.3438/0.3438, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3942/0.5669, allocations: 86.39 MB / 0.5631 GB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.5672, allocations: 70.78 kB / 0.5632 GB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01032/0.5775, allocations: 4.152 MB / 0.5672 GB, free: 9.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5776, allocations: 4 kB / 0.5672 GB, free: 9.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.5776, allocations: 4 kB / 0.5672 GB, free: 9.793 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.0004987/0.5781, allocations: 425.6 kB / 0.5677 GB, free: 9.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.5781, allocations: 12.02 kB / 0.5677 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.5782, allocations: 15.81 kB / 0.5677 GB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.5785, allocations: 210.1 kB / 0.5679 GB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5785, allocations: 3.438 kB / 0.5679 GB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.5785, allocations: 4 kB / 0.5679 GB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.5787, allocations: 49.44 kB / 0.5679 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5787, allocations: 3.906 kB / 0.5679 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.5787, allocations: 0 / 0.5679 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5787, allocations: 0 / 0.5679 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.5788, allocations: 31.72 kB / 0.568 GB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.5793, allocations: 308.4 kB / 0.5683 GB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.5796, allocations: 45.86 kB / 0.5683 GB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.5796, allocations: 0 / 0.5683 GB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.5796, allocations: 38 kB / 0.5683 GB, free: 8.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.5796, allocations: 0 / 0.5683 GB, free: 8.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005613/0.5802, allocations: 170.2 kB / 0.5685 GB, free: 8.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.5803, allocations: 51.41 kB / 0.5686 GB, free: 8.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.5805, allocations: 243.1 kB / 0.5688 GB, free: 8.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.5805, allocations: 29.64 kB / 0.5688 GB, free: 8.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.5806, allocations: 109.7 kB / 0.5689 GB, free: 8.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.5806, allocations: 15.75 kB / 0.5689 GB, free: 7.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.5807, allocations: 0 / 0.5689 GB, free: 7.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5808, allocations: 326.4 kB / 0.5692 GB, free: 7.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.5809, allocations: 27.55 kB / 0.5693 GB, free: 7.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.395e-05/0.5809, allocations: 23.61 kB / 0.5693 GB, free: 7.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.08e-05/0.581, allocations: 23.48 kB / 0.5693 GB, free: 7.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.581, allocations: 0 / 0.5693 GB, free: 7.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001974/0.5812, allocations: 96.3 kB / 0.5694 GB, free: 7.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.5812, allocations: 7.438 kB / 0.5694 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.5813, allocations: 7.984 kB / 0.5694 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5813, allocations: 0 / 0.5694 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.5813, allocations: 15.98 kB / 0.5694 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.5814, allocations: 7.891 kB / 0.5694 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.5814, allocations: 8.234 kB / 0.5695 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.5814, allocations: 0 / 0.5695 GB, free: 7.477 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.0001181/0.5816, allocations: 137 kB / 0.5696 GB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.5816, allocations: 19.81 kB / 0.5696 GB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.5818, allocations: 97.09 kB / 0.5697 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5819, allocations: 4 kB / 0.5697 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5819, allocations: 4 kB / 0.5697 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5819, allocations: 3.953 kB / 0.5697 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.5824, allocations: 390 kB / 0.5701 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5824, allocations: 0 / 0.5701 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.5824, allocations: 15.98 kB / 0.5701 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5825, allocations: 4 kB / 0.5701 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.5825, allocations: 4 kB / 0.5701 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5825, allocations: 3.953 kB / 0.5701 GB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5825, allocations: 0 / 0.5701 GB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.5827, allocations: 194.2 kB / 0.5703 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.5828, allocations: 100.4 kB / 0.5704 GB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.5829, allocations: 0 / 0.5704 GB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.5829, allocations: 11.98 kB / 0.5704 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.583, allocations: 7.891 kB / 0.5704 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.583, allocations: 3.25 kB / 0.5704 GB, free: 6.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000176/0.5832, allocations: 199 kB / 0.5706 GB, free: 6.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5832, allocations: 0 / 0.5706 GB, free: 6.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.5834, allocations: 23.69 kB / 0.5706 GB, free: 6.277 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.0009237/0.5844, allocations: 410.8 kB / 0.571 GB, free: 5.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.5846, allocations: 50.84 kB / 0.5711 GB, free: 5.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5846, allocations: 3.938 kB / 0.5711 GB, free: 5.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.736e-05/0.5847, allocations: 31.55 kB / 0.5711 GB, free: 5.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.5849, allocations: 22.91 kB / 0.5711 GB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.5854, allocations: 299 kB / 0.5714 GB, free: 5.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.5858, allocations: 0.7227 MB / 0.5721 GB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.777e-05/0.5858, allocations: 8.188 kB / 0.5721 GB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.5859, allocations: 22.8 kB / 0.5721 GB, free: 4.766 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5859, allocations: 4 kB / 0.5721 GB, free: 4.762 MB / 378.7 MB Notification: Performance of Templates: time 0.003672/0.5896, allocations: 1.253 MB / 0.5734 GB, free: 3.52 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches