Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001043/0.001043, 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.001097/0.001097, 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.116/1.116, allocations: 158.6 MB / 186 MB, free: 2.41 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.1496/0.1496, allocations: 32.37 MB / 270.7 MB, free: 14.51 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.863e-05, allocations: 9.344 kB / 348.2 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002373/0.002402, allocations: 1.722 MB / 349.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.003867, allocations: 1.513 MB / 351.4 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.59e-05/0.003963, allocations: 7.938 kB / 351.5 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.00432, allocations: 31.83 kB / 351.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.004602, allocations: 71.55 kB / 351.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.004867, allocations: 83.72 kB / 351.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.005036, allocations: 107.7 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.005135, allocations: 4.234 kB / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.005232, allocations: 59.81 kB / 351.8 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.005338, allocations: 35.84 kB / 351.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.00536, allocations: 7.984 kB / 351.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.005502, allocations: 59.92 kB / 351.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.005559, allocations: 23.92 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.005607, allocations: 23.91 kB / 352 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.00589, allocations: 119.5 kB / 352.1 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.005896, allocations: 0 / 352.1 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005898, allocations: 0 / 352.1 MB, free: 5.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.005905, allocations: 0 / 352.1 MB, free: 5.203 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005563/0.006461, allocations: 443.9 kB / 352.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.0065, allocations: 12.03 kB / 352.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.00654, allocations: 8.891 kB / 352.5 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.006714, allocations: 149 kB / 352.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.006731, allocations: 4.375 kB / 352.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.006754, allocations: 12.3 kB / 352.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.006905, allocations: 115.4 kB / 352.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.006917, allocations: 0 / 352.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.006927, allocations: 0 / 352.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.006933, allocations: 0 / 352.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.00697, allocations: 19.97 kB / 352.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.00722, allocations: 264.4 kB / 353.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.007321, allocations: 67.03 kB / 353.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.007344, allocations: 19.69 kB / 353.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.007362, allocations: 4 kB / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.618e-05/0.007458, allocations: 77.02 kB / 353.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.007459, allocations: 0 / 353.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003672/0.007826, allocations: 157.4 kB / 353.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.007851, allocations: 81.11 kB / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.007932, allocations: 205.8 kB / 353.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.007942, allocations: 33.7 kB / 353.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.007973, allocations: 146.8 kB / 353.9 MB, free: 3.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.007996, allocations: 31.73 kB / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.008028, allocations: 35.36 kB / 353.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.504e-05/0.008073, allocations: 0.4961 MB / 354.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.00809, allocations: 11.98 kB / 354.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.008123, allocations: 72.67 kB / 354.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.008167, allocations: 43.31 kB / 354.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.008168, allocations: 0 / 354.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.725e-05/0.008265, allocations: 97.59 kB / 354.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.008276, allocations: 4 kB / 354.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.008281, allocations: 8.062 kB / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.008296, allocations: 0 / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.008364, allocations: 23.98 kB / 354.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.008367, allocations: 0 / 354.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.008396, allocations: 0 / 354.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.008403, allocations: 4 kB / 354.7 MB, free: 2.352 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 (11): * Single equations (assignments): 11 * 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.245e-05/0.008465, allocations: 172.4 kB / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.008481, allocations: 15.91 kB / 354.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.008631, allocations: 110.4 kB / 355 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.008635, allocations: 0 / 355 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008637, allocations: 4 kB / 355 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.008641, allocations: 0 / 355 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.008874, allocations: 381.5 kB / 355.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.008875, allocations: 0 / 355.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.008909, allocations: 15.98 kB / 355.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.008912, allocations: 4 kB / 355.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.008918, allocations: 0 / 355.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.00892, allocations: 0 / 355.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.008921, allocations: 0 / 355.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.009042, allocations: 271.3 kB / 355.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.009055, allocations: 15.97 kB / 355.6 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.009075, allocations: 7.984 kB / 355.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.416e-05/0.009119, allocations: 4 kB / 355.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.009148, allocations: 11.92 kB / 355.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.009161, allocations: 4 kB / 355.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.066e-05/0.009202, allocations: 151.2 kB / 355.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009202, allocations: 0 / 355.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001991/0.009401, allocations: 35.88 kB / 355.8 MB, free: 1.094 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 (11): * Single equations (assignments): 9 * 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.0009172/0.01032, allocations: 494.2 kB / 356.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01045, allocations: 55.59 kB / 356.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01045, allocations: 0 / 356.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.01049, allocations: 35.61 kB / 356.4 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.01072, allocations: 32.2 kB / 356.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.01103, allocations: 225.4 kB / 356.7 MB, free: 332 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.85e-05/0.01106, allocations: 67.34 kB / 356.7 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.445e-05/0.0111, allocations: 12.97 kB / 356.8 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.01117, allocations: 102.2 kB / 356.9 MB, free: 128 kB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01117, allocations: 0 / 356.9 MB, free: 128 kB / 282.7 MB Notification: Performance of Templates: time 0.004482/0.01565, allocations: 2.467 MB / 359.3 MB, free: 13.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.3864258718676865]