Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008275/0.0008276, allocations: 175.1 kB / 18.08 MB, free: 3.605 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.187/1.187, allocations: 223.3 MB / 242.1 MB, free: 9.953 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.0007849/0.0007849, allocations: 96.38 kB / 293.3 MB, free: 10.55 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.2643/0.2643, allocations: 44.14 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2497, allocations: 61.88 MB / 0.5107 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09046/0.3402, allocations: 88.26 MB / 0.5969 GB, free: 6.809 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.3404, allocations: 79.94 kB / 0.597 GB, free: 6.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.3508, allocations: 4.458 MB / 0.6013 GB, free: 2.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3508, allocations: 0 / 0.6013 GB, free: 2.277 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3508, allocations: 4 kB / 0.6013 GB, free: 2.273 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.0003306/0.3512, allocations: 391.2 kB / 0.6017 GB, free: 1.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3512, allocations: 8.031 kB / 0.6017 GB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.3513, allocations: 8.844 kB / 0.6017 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3514, allocations: 188.2 kB / 0.6019 GB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.3515, allocations: 4.312 kB / 0.6019 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3515, allocations: 4.375 kB / 0.6019 GB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.3516, allocations: 63.97 kB / 0.602 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3516, allocations: 4.125 kB / 0.602 GB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3517, allocations: 7.938 kB / 0.602 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3517, allocations: 3.984 kB / 0.602 GB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.3518, allocations: 31.91 kB / 0.602 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.3521, allocations: 268.9 kB / 0.6023 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3522, allocations: 54.42 kB / 0.6023 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.3523, allocations: 16.86 kB / 0.6024 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.3523, allocations: 0 / 0.6024 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3524, allocations: 30.56 kB / 0.6024 GB, free: 1.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3524, allocations: 8 kB / 0.6024 GB, free: 1.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004909/0.3529, allocations: 149.5 kB / 0.6025 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.3529, allocations: 81.11 kB / 0.6026 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.353, allocations: 135.1 kB / 0.6027 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.353, allocations: 25.7 kB / 0.6028 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.3531, allocations: 96.12 kB / 0.6029 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.3531, allocations: 19.66 kB / 0.6029 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.3531, allocations: 4 kB / 0.6029 GB, free: 500 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.3532, allocations: 318.8 kB / 0.6032 GB, free: 172 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.3533, allocations: 27.98 kB / 0.6032 GB, free: 144 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.3534, allocations: 37.77 kB / 0.6032 GB, free: 100 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3535, allocations: 56.86 kB / 0.6033 GB, free: 40 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3535, allocations: 0 / 0.6033 GB, free: 40 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001858/0.3537, allocations: 85.61 kB / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3537, allocations: 4 kB / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3537, allocations: 0 / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.3537, allocations: 0 / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.3538, allocations: 19.98 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3538, allocations: 0 / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.3539, allocations: 8 kB / 0.6034 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3539, allocations: 4 kB / 0.6034 GB, free: 15.91 MB / 426.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 7.093e-05/0.354, allocations: 114.3 kB / 0.6035 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.354, allocations: 11.89 kB / 0.6035 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.3542, allocations: 101.6 kB / 0.6036 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3542, allocations: 0 / 0.6036 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3542, allocations: 4 kB / 0.6036 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3542, allocations: 0 / 0.6036 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.3546, allocations: 350.5 kB / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3546, allocations: 0 / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.3547, allocations: 23.86 kB / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3547, allocations: 3.938 kB / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3547, allocations: 320 / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3547, allocations: 4 kB / 0.604 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3547, allocations: 4 kB / 0.604 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.355, allocations: 187.4 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.355, allocations: 85.02 kB / 0.6043 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.355, allocations: 4 kB / 0.6043 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.3551, allocations: 11.98 kB / 0.6043 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.3551, allocations: 7.938 kB / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.3551, allocations: 0 / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.259e-05/0.3552, allocations: 107.2 kB / 0.6044 GB, free: 14.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3552, allocations: 0 / 0.6044 GB, free: 14.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.3555, allocations: 28 kB / 0.6044 GB, free: 14.78 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.0008245/0.3563, allocations: 461 kB / 0.6049 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.3565, allocations: 47.97 kB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3565, allocations: 4 kB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.3566, allocations: 27.98 kB / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3568, allocations: 23.19 kB / 0.605 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.3571, allocations: 164.7 kB / 0.6051 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.3574, allocations: 0.6952 MB / 0.6058 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.001e-05/0.3574, allocations: 4 kB / 0.6058 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.3575, allocations: 15.42 kB / 0.6058 GB, free: 13.47 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3575, allocations: 0 / 0.6058 GB, free: 13.47 MB / 426.7 MB Notification: Performance of Templates: time 0.003164/0.3606, allocations: 1.288 MB / 0.6071 GB, free: 12.2 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches