Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001129/0.001129, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001327/0.001327, allocations: 177 kB / 24.06 MB, free: 452 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.083/1.083, allocations: 158.6 MB / 185.9 MB, free: 2.805 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.1485/0.1485, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.045e-06/3.045e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.571e-05/3.875e-05, allocations: 2.312 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002765/0.002804, allocations: 1.721 MB / 349.9 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.003866, allocations: 0.7843 MB / 350.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.003968, allocations: 3.938 kB / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.004344, allocations: 91.69 kB / 350.8 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.004587, allocations: 79.66 kB / 350.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.004828, allocations: 87.62 kB / 351 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.004999, allocations: 107.6 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.00511, allocations: 8.234 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.005212, allocations: 63.81 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.005328, allocations: 55.86 kB / 351.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.005355, allocations: 8 kB / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.792e-05/0.005443, allocations: 35.94 kB / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.005496, allocations: 35.84 kB / 351.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.005541, allocations: 19.92 kB / 351.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.005717, allocations: 91.66 kB / 351.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.00572, allocations: 0 / 351.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.005722, allocations: 0 / 351.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.005727, allocations: 0 / 351.4 MB, free: 5.898 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.000421/0.006148, allocations: 463.7 kB / 351.8 MB, free: 5.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.006189, allocations: 12.03 kB / 351.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.006228, allocations: 12.89 kB / 351.9 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.006391, allocations: 152.4 kB / 352 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.006411, allocations: 4.375 kB / 352 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.006429, allocations: 384 / 352 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.00657, allocations: 62.94 kB / 352.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.006583, allocations: 3.938 kB / 352.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.006592, allocations: 0 / 352.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.006599, allocations: 3.984 kB / 352.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.993e-05/0.006629, allocations: 15.92 kB / 352.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.006939, allocations: 252.4 kB / 352.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.007068, allocations: 63.08 kB / 352.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.007098, allocations: 15.75 kB / 352.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.007121, allocations: 0 / 352.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.007271, allocations: 72.92 kB / 352.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.007273, allocations: 0 / 352.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004291/0.007702, allocations: 129.5 kB / 352.6 MB, free: 4.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.007727, allocations: 63.38 kB / 352.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.007827, allocations: 234.5 kB / 352.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.007837, allocations: 25.7 kB / 352.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.007885, allocations: 166.8 kB / 353.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.007913, allocations: 27.83 kB / 353.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.007947, allocations: 23.38 kB / 353.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.008016, allocations: 0.5001 MB / 353.6 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.008036, allocations: 11.98 kB / 353.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-05/0.008064, allocations: 35.34 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.008108, allocations: 39.31 kB / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00811, allocations: 3.938 kB / 353.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001058/0.008215, allocations: 93.59 kB / 353.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.00823, allocations: 11.97 kB / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.008236, allocations: 80 / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.008251, allocations: 7.984 kB / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.00833, allocations: 12 kB / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.008334, allocations: 3.984 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.008368, allocations: 4 kB / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.008373, allocations: 0 / 353.9 MB, free: 3.195 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 6.243e-05/0.008435, allocations: 164.6 kB / 354 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.008452, allocations: 15.89 kB / 354 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.0086, allocations: 107.1 kB / 354.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.008603, allocations: 0 / 354.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.008605, allocations: 0 / 354.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.00861, allocations: 0 / 354.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.008875, allocations: 365.5 kB / 354.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.008878, allocations: 0 / 354.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.008909, allocations: 11.98 kB / 354.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.008911, allocations: 7.938 kB / 354.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.008918, allocations: 384 / 354.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.00892, allocations: 0 / 354.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.008922, allocations: 8 kB / 354.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.009042, allocations: 255.5 kB / 354.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.009054, allocations: 11.91 kB / 354.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.009071, allocations: 4 kB / 354.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.425e-05/0.009116, allocations: 4 kB / 354.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.009146, allocations: 7.984 kB / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.009161, allocations: 4 kB / 354.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.232e-05/0.009213, allocations: 167.1 kB / 355 MB, free: 2.004 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009213, allocations: 4 kB / 355 MB, free: 2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.009391, allocations: 20 kB / 355 MB, free: 1.98 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.0009695/0.01036, allocations: 442.3 kB / 355.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.01049, allocations: 55.52 kB / 355.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.0105, allocations: 0 / 355.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.01053, allocations: 31.77 kB / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.0108, allocations: 39.95 kB / 355.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.01119, allocations: 221 kB / 355.8 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.01e-05/0.01122, allocations: 71.47 kB / 355.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.408e-05/0.01126, allocations: 20.47 kB / 355.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.01132, allocations: 90.19 kB / 355.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01132, allocations: 0 / 355.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of Templates: time 0.003962/0.01528, allocations: 2.013 MB / 358 MB, free: 15.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.3058504220098257]