Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 88.2 kB / 20.94 MB, free: 3.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 173 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.045/1.045, allocations: 158.6 MB / 186 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1343/0.1343, allocations: 32.37 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 0 / 347.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.245e-05/4.575e-05, allocations: 4.281 kB / 347.7 MB, free: 9.688 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.004361/0.004407, allocations: 1.742 MB / 349.5 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.005812, allocations: 0.7803 MB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.005935, allocations: 3.938 kB / 350.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.006401, allocations: 47.7 kB / 350.3 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.006685, allocations: 55.75 kB / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.007006, allocations: 83.7 kB / 350.5 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.007257, allocations: 95.69 kB / 350.5 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.00742, allocations: 8.172 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.007575, allocations: 55.83 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.007698, allocations: 23.91 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.00773, allocations: 4 kB / 350.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.007891, allocations: 47.91 kB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-05/0.007986, allocations: 19.94 kB / 350.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.008061, allocations: 19.92 kB / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.008368, allocations: 99.59 kB / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.008374, allocations: 0 / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.008376, allocations: 4 kB / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.008385, allocations: 0 / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006112/0.008996, allocations: 435.9 kB / 351.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.009059, allocations: 8.031 kB / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.552e-05/0.009155, allocations: 16.83 kB / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.009387, allocations: 152.3 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.009412, allocations: 384 / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.009439, allocations: 4.375 kB / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.009632, allocations: 70.88 kB / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.009647, allocations: 3.938 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.009664, allocations: 4 kB / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.009676, allocations: 0 / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.126e-05/0.009727, allocations: 11.98 kB / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.01018, allocations: 271.8 kB / 351.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.01034, allocations: 59.11 kB / 351.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.01038, allocations: 19.61 kB / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.0104, allocations: 0 / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.01056, allocations: 73.05 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.01056, allocations: 0 / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004642/0.01103, allocations: 149.4 kB / 352.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.01106, allocations: 55.41 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.01116, allocations: 215 kB / 352.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.01117, allocations: 33.7 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.01121, allocations: 150.8 kB / 352.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.01124, allocations: 27.78 kB / 352.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.01127, allocations: 27.38 kB / 352.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.01133, allocations: 0.4962 MB / 353.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.01135, allocations: 20.3 kB / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.01139, allocations: 35.36 kB / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.296e-05/0.01144, allocations: 51.25 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01144, allocations: 4 kB / 353.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001054/0.01155, allocations: 85.58 kB / 353.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.01157, allocations: 4 kB / 353.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.01158, allocations: 0 / 353.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.0116, allocations: 0 / 353.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.01171, allocations: 19.98 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.01171, allocations: 4.031 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/0.01175, allocations: 7.984 kB / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.01176, allocations: 4 kB / 353.3 MB, free: 3.883 MB / 282.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.01183, allocations: 172.4 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.01185, allocations: 15.91 kB / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.01202, allocations: 102.5 kB / 353.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01203, allocations: 7.984 kB / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01203, allocations: 0 / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01204, allocations: 0 / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.01233, allocations: 389 kB / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01234, allocations: 0 / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.01237, allocations: 12 kB / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01237, allocations: 0 / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.01238, allocations: 0 / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01239, allocations: 4 kB / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01239, allocations: 0 / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.01253, allocations: 259.4 kB / 354.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.01254, allocations: 15.94 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.01256, allocations: 0 / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.696e-05/0.01261, allocations: 0 / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.01265, allocations: 12.02 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.01267, allocations: 8 kB / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.837e-05/0.01273, allocations: 159.1 kB / 354.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01273, allocations: 0 / 354.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.01291, allocations: 23.94 kB / 354.5 MB, free: 2.641 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009995/0.01391, allocations: 453.2 kB / 354.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.01407, allocations: 55.55 kB / 355 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01407, allocations: 0 / 355 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.01411, allocations: 39.72 kB / 355 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.0144, allocations: 36.19 kB / 355 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.0148, allocations: 205.5 kB / 355.2 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.01484, allocations: 63.34 kB / 355.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.862e-05/0.01488, allocations: 20.47 kB / 355.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.01491, allocations: 16.5 kB / 355.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.01491, allocations: 64 / 355.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of Templates: time 0.004301/0.01921, allocations: 1.842 MB / 357.2 MB, free: 15.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1777842540759593]