Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001194/0.001194, 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.001422/0.001422, allocations: 169 kB / 24.24 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.008/1.008, allocations: 158.6 MB / 186 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.1558/0.1558, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 3.938 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.502e-05, allocations: 2.312 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001716/0.001731, allocations: 1.613 MB / 349.3 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.002504, allocations: 1.041 MB / 350.3 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.002558, allocations: 7.938 kB / 350.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.00278, allocations: 27.78 kB / 350.4 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.002966, allocations: 47.7 kB / 350.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.003154, allocations: 71.78 kB / 350.5 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.003291, allocations: 71.77 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.003379, allocations: 16.17 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.003431, allocations: 27.92 kB / 350.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.457e-05/0.003515, allocations: 27.89 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.003533, allocations: 4 kB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.909e-05/0.003622, allocations: 55.91 kB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.003659, allocations: 15.92 kB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.003687, allocations: 15.94 kB / 350.7 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.003851, allocations: 87.66 kB / 350.8 MB, free: 6.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003853, allocations: 0 / 350.8 MB, free: 6.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003853, allocations: 0 / 350.8 MB, free: 6.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.003857, allocations: 0 / 350.8 MB, free: 6.625 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003083/0.004165, allocations: 412.2 kB / 351.2 MB, free: 6.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.004198, allocations: 8.031 kB / 351.2 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.004248, allocations: 20.88 kB / 351.2 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.004365, allocations: 135.3 kB / 351.4 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.004373, allocations: 4.375 kB / 351.4 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.004393, allocations: 4.375 kB / 351.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.004519, allocations: 119.9 kB / 351.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.004527, allocations: 192 / 351.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.004536, allocations: 3.938 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.004542, allocations: 0 / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.979e-05/0.004582, allocations: 15.98 kB / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.004811, allocations: 283.7 kB / 351.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.004874, allocations: 50.92 kB / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.004896, allocations: 11.69 kB / 351.8 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.004915, allocations: 12.12 kB / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.004931, allocations: 33.39 kB / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.004931, allocations: 0 / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003452/0.005277, allocations: 129.5 kB / 352 MB, free: 5.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.005298, allocations: 77.11 kB / 352.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.005383, allocations: 189.8 kB / 352.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.00539, allocations: 33.7 kB / 352.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.00542, allocations: 134.9 kB / 352.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.00544, allocations: 27.75 kB / 352.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.005471, allocations: 31.36 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.924e-05/0.005511, allocations: 0.4962 MB / 353 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.005531, allocations: 11.92 kB / 353 MB, free: 4.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.005562, allocations: 57.06 kB / 353.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.005607, allocations: 39.91 kB / 353.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.005608, allocations: 0 / 353.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.285e-05/0.005691, allocations: 74 kB / 353.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.005701, allocations: 4 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.005705, allocations: 0 / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005715, allocations: 0 / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.005786, allocations: 27.92 kB / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.005792, allocations: 4.031 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.005813, allocations: 0 / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.005819, allocations: 4 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 4.128e-05/0.00586, allocations: 164.5 kB / 353.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.005887, allocations: 7.953 kB / 353.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.006, allocations: 82.09 kB / 353.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.006002, allocations: 3.938 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.006005, allocations: 0 / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006008, allocations: 7.938 kB / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.006249, allocations: 349.3 kB / 353.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.00625, allocations: 4 kB / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.00629, allocations: 16 kB / 353.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006292, allocations: 0 / 353.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.006299, allocations: 3.938 kB / 353.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.0063, allocations: 0 / 353.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.0063, allocations: 0 / 353.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.833e-05/0.006399, allocations: 223.8 kB / 354.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.006407, allocations: 11.95 kB / 354.1 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.00642, allocations: 0 / 354.1 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.006469, allocations: 4 kB / 354.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.006501, allocations: 3.984 kB / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.006505, allocations: 8 kB / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.364e-05/0.006549, allocations: 148.1 kB / 354.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006549, allocations: 4 kB / 354.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.006784, allocations: 27.92 kB / 354.3 MB, free: 2.848 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009011/0.007685, allocations: 432.4 kB / 354.7 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.961e-05/0.007785, allocations: 39.67 kB / 354.7 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007786, allocations: 0 / 354.7 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.025e-05/0.007817, allocations: 35.55 kB / 354.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.00807, allocations: 31.8 kB / 354.8 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.008362, allocations: 174.4 kB / 355 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.008394, allocations: 63.34 kB / 355 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.205e-05/0.008436, allocations: 17.02 kB / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.008468, allocations: 20.5 kB / 355.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008469, allocations: 0 / 355.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of Templates: time 0.003174/0.01164, allocations: 1.51 MB / 356.6 MB, free: 0.5781 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.1454537040553987]