Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002199/0.002199, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.913/1.913, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001107/0.001107, allocations: 84.44 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5114/0.5114, allocations: 43.55 MB / 362.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 19.98 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.464/0.5876, allocations: 87.5 MB / 0.5642 GB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.588, allocations: 75.95 kB / 0.5643 GB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0337/0.6217, allocations: 5.122 MB / 0.5693 GB, free: 10.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6217, allocations: 0 / 0.5693 GB, free: 10.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.135e-05/0.6218, allocations: 4 kB / 0.5693 GB, free: 10.1 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007845/0.6226, allocations: 415.1 kB / 0.5697 GB, free: 9.648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.6227, allocations: 8.031 kB / 0.5697 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.6227, allocations: 11.84 kB / 0.5697 GB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.6232, allocations: 207.7 kB / 0.5699 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.6233, allocations: 4 kB / 0.5699 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.6233, allocations: 0 / 0.5699 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.6235, allocations: 49.67 kB / 0.5699 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.6235, allocations: 0 / 0.5699 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.6236, allocations: 7.984 kB / 0.5699 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.6236, allocations: 3.984 kB / 0.5699 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.6237, allocations: 13.03 kB / 0.5699 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.6241, allocations: 185.6 kB / 0.5701 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.6244, allocations: 58.56 kB / 0.5702 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.6245, allocations: 0 / 0.5702 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.6247, allocations: 71.47 kB / 0.5703 GB, free: 8.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.325e-06/0.6248, allocations: 0 / 0.5703 GB, free: 8.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005297/0.6253, allocations: 97.52 kB / 0.5703 GB, free: 8.828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.6254, allocations: 51.41 kB / 0.5704 GB, free: 8.766 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.6257, allocations: 153.4 kB / 0.5705 GB, free: 8.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.6257, allocations: 29.7 kB / 0.5706 GB, free: 8.574 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.6259, allocations: 166.5 kB / 0.5707 GB, free: 8.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.6259, allocations: 19.69 kB / 0.5707 GB, free: 8.391 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.438e-05/0.6259, allocations: 8 kB / 0.5708 GB, free: 8.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.6261, allocations: 314.8 kB / 0.5711 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.6262, allocations: 12 kB / 0.5711 GB, free: 8.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.6264, allocations: 25.7 kB / 0.5711 GB, free: 8.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.6265, allocations: 24.23 kB / 0.5711 GB, free: 8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.6265, allocations: 3.953 kB / 0.5711 GB, free: 7.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000312/0.6269, allocations: 77.62 kB / 0.5712 GB, free: 7.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.6269, allocations: 8 kB / 0.5712 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.6269, allocations: 0 / 0.5712 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.627, allocations: 0 / 0.5712 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.6271, allocations: 11.98 kB / 0.5712 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.6272, allocations: 4 kB / 0.5712 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.6273, allocations: 11.84 kB / 0.5712 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.6273, allocations: 4 kB / 0.5712 GB, free: 7.875 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000178/0.6275, allocations: 129.8 kB / 0.5714 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.6276, allocations: 11.86 kB / 0.5714 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.628, allocations: 85.98 kB / 0.5714 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.628, allocations: 4 kB / 0.5714 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.6281, allocations: 0 / 0.5714 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6281, allocations: 0 / 0.5714 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.6284, allocations: 189.6 kB / 0.5716 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6284, allocations: 0 / 0.5716 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.6285, allocations: 15.89 kB / 0.5716 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6285, allocations: 0 / 0.5716 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.6285, allocations: 7.984 kB / 0.5717 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.6285, allocations: 4 kB / 0.5717 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6285, allocations: 0 / 0.5717 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.6289, allocations: 109 kB / 0.5718 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-05/0.629, allocations: 88.92 kB / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.6291, allocations: 3.953 kB / 0.5718 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.6292, allocations: 12.17 kB / 0.5719 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.6293, allocations: 4 kB / 0.5719 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.6293, allocations: 8 kB / 0.5719 GB, free: 7.113 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000224/0.6295, allocations: 133.5 kB / 0.572 GB, free: 6.984 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.645e-06/0.6296, allocations: 0 / 0.572 GB, free: 6.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004781/0.63, allocations: 31.88 kB / 0.572 GB, free: 6.953 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001711/0.6318, allocations: 424.4 kB / 0.5724 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.6321, allocations: 47.97 kB / 0.5725 GB, free: 6.586 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6322, allocations: 4.062 kB / 0.5725 GB, free: 6.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.6323, allocations: 19.94 kB / 0.5725 GB, free: 6.562 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.6327, allocations: 25.19 kB / 0.5725 GB, free: 6.539 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.6335, allocations: 237.2 kB / 0.5728 GB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.634, allocations: 0.7004 MB / 0.5734 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.6341, allocations: 11.44 kB / 0.5734 GB, free: 5.543 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6341, allocations: 0 / 0.5734 GB, free: 5.543 MB / 394.7 MB Notification: Performance of Templates: time 0.007304/0.6414, allocations: 1.67 MB / 0.5751 GB, free: 3.879 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches