Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.001295/0.001295, allocations: 95.2 kB / 20.43 MB, free: 4.137 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.001011/0.001011, allocations: 165 kB / 23.79 MB, free: 0.7734 MB / 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 0.8518/0.8518, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.136/0.136, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.2e-05, allocations: 10.19 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003208/0.00324, allocations: 1.734 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.004618, allocations: 0.7998 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.25e-05/0.00471, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.005103, allocations: 55.75 kB / 350.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.005402, allocations: 59.69 kB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.00572, allocations: 91.69 kB / 350.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.005891, allocations: 87.7 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.005981, allocations: 12.22 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/0.00606, allocations: 55.77 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.006124, allocations: 23.92 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.006142, allocations: 4 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.569e-05/0.006218, allocations: 47.91 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.006272, allocations: 31.86 kB / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.00631, allocations: 19.92 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.006471, allocations: 119.5 kB / 350.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.006475, allocations: 0 / 350.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006476, allocations: 0 / 350.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.00648, allocations: 0 / 350.9 MB, free: 6.211 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.000403/0.006883, allocations: 467.7 kB / 351.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.006918, allocations: 16.02 kB / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.006967, allocations: 20.84 kB / 351.4 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.007114, allocations: 148.4 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.007134, allocations: 4.375 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.007159, allocations: 4.375 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.007296, allocations: 66.88 kB / 351.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.007306, allocations: 3.938 kB / 351.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.007316, allocations: 0 / 351.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.007323, allocations: 0 / 351.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.68e-05/0.00736, allocations: 11.98 kB / 351.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.007671, allocations: 299.8 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.007792, allocations: 63.11 kB / 352 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.007822, allocations: 19.61 kB / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.007838, allocations: 0 / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.007942, allocations: 69.05 kB / 352.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.007943, allocations: 0 / 352.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004025/0.008345, allocations: 157.3 kB / 352.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.008366, allocations: 55.41 kB / 352.3 MB, free: 4.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.00848, allocations: 273.3 kB / 352.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.008488, allocations: 37.64 kB / 352.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.008527, allocations: 162.9 kB / 352.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.008552, allocations: 31.78 kB / 352.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.008581, allocations: 23.38 kB / 352.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.008627, allocations: 0.504 MB / 353.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-05/0.008655, allocations: 11.98 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.008687, allocations: 39.67 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.934e-05/0.008736, allocations: 47.31 kB / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.008737, allocations: 0 / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.929e-05/0.008836, allocations: 105.5 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.00885, allocations: 11.98 kB / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.008855, allocations: 0 / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.008869, allocations: 0 / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.008941, allocations: 12 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.008947, allocations: 4 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.008974, allocations: 0 / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.008981, allocations: 7.984 kB / 353.5 MB, free: 3.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 (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 5.358e-05/0.009034, allocations: 170.7 kB / 353.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.009048, allocations: 15.91 kB / 353.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.009187, allocations: 115.2 kB / 353.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.009188, allocations: 0 / 353.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.009192, allocations: 0 / 353.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.009195, allocations: 0 / 353.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.009435, allocations: 409 kB / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009436, allocations: 0 / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.009466, allocations: 11.98 kB / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009469, allocations: 0 / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.009477, allocations: 4 kB / 354.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.009479, allocations: 0 / 354.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.009481, allocations: 4.031 kB / 354.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.009599, allocations: 271.3 kB / 354.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.009612, allocations: 11.94 kB / 354.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.009629, allocations: 0 / 354.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.081e-05/0.00967, allocations: 4 kB / 354.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.009702, allocations: 7.984 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.009714, allocations: 4 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.344e-05/0.009778, allocations: 200.3 kB / 354.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009778, allocations: 0 / 354.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.009949, allocations: 27.89 kB / 354.7 MB, free: 2.035 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.0009198/0.01087, allocations: 445 kB / 355.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.01104, allocations: 51.61 kB / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01104, allocations: 3.938 kB / 355.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.431e-05/0.01108, allocations: 31.67 kB / 355.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.01136, allocations: 28.14 kB / 355.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.01176, allocations: 257.6 kB / 355.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.205e-05/0.0118, allocations: 79.45 kB / 355.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.973e-05/0.01184, allocations: 16.47 kB / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.01188, allocations: 16.5 kB / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01188, allocations: 0 / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of Templates: time 0.003774/0.01566, allocations: 1.858 MB / 357.5 MB, free: 15.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.097693905234337]