Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.001261/0.001261, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.00114/0.00114, allocations: 169.3 kB / 24.24 MB, free: 312 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.111/1.111, allocations: 158.6 MB / 186 MB, free: 2.91 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.1441/0.1441, 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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.545e-05, allocations: 8.219 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.001902/0.001927, allocations: 1.592 MB / 349.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004618/0.002389, allocations: 331.4 kB / 349.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.002447, allocations: 0 / 349.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.002668, allocations: 23.86 kB / 349.6 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.00285, allocations: 35.72 kB / 349.7 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.003072, allocations: 91.8 kB / 349.7 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.003193, allocations: 55.78 kB / 349.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.003286, allocations: 11.92 kB / 349.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.003336, allocations: 31.91 kB / 349.8 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.783e-05/0.003384, allocations: 15.98 kB / 349.9 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.003399, allocations: 4 kB / 349.9 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.281e-05/0.003462, allocations: 27.94 kB / 349.9 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.003502, allocations: 11.98 kB / 349.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.003529, allocations: 11.92 kB / 349.9 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.003669, allocations: 67.69 kB / 350 MB, free: 7.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003672, allocations: 0 / 350 MB, free: 7.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003672, allocations: 0 / 350 MB, free: 7.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.003676, allocations: 0 / 350 MB, free: 7.461 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003225/0.003999, allocations: 404.2 kB / 350.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.004035, allocations: 12.03 kB / 350.4 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.004072, allocations: 12.89 kB / 350.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.004179, allocations: 124.6 kB / 350.5 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.004188, allocations: 384 / 350.5 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.004208, allocations: 8.375 kB / 350.5 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.859e-05/0.004306, allocations: 54.89 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.004314, allocations: 4.125 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.004323, allocations: 8.125 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.00433, allocations: 0 / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.815e-05/0.004358, allocations: 7.984 kB / 350.6 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.004594, allocations: 275.7 kB / 350.9 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.004772, allocations: 50.98 kB / 350.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.0048, allocations: 11.69 kB / 350.9 MB, free: 6.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.004819, allocations: 8.016 kB / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.004835, allocations: 33.39 kB / 351 MB, free: 6.336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.004836, allocations: 0 / 351 MB, free: 6.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003222/0.005158, allocations: 97.64 kB / 351.1 MB, free: 6.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.005178, allocations: 51.41 kB / 351.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.005252, allocations: 192 kB / 351.3 MB, free: 5.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-06/0.005258, allocations: 29.7 kB / 351.3 MB, free: 5.934 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.005287, allocations: 142.8 kB / 351.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.005307, allocations: 19.84 kB / 351.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.005333, allocations: 23.38 kB / 351.5 MB, free: 5.738 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.159e-05/0.005375, allocations: 0.4923 MB / 352 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.005389, allocations: 4 kB / 352 MB, free: 5.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.005401, allocations: 4 kB / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/0.005433, allocations: 27.88 kB / 352 MB, free: 5.195 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005434, allocations: 3.984 kB / 352 MB, free: 5.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.435e-05/0.005499, allocations: 61.53 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.005511, allocations: 8 kB / 352.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.005515, allocations: 0 / 352.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.005527, allocations: 4 kB / 352.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.615e-05/0.005564, allocations: 11.98 kB / 352.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.005569, allocations: 0 / 352.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.005586, allocations: 4 kB / 352.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.005591, allocations: 0 / 352.1 MB, free: 5.098 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 (5): * Single equations (assignments): 5 * 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.773e-05/0.005638, allocations: 160.6 kB / 352.3 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.005655, allocations: 11.89 kB / 352.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.005748, allocations: 66.08 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.00575, allocations: 0 / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.005753, allocations: 3.938 kB / 352.4 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005756, allocations: 4 kB / 352.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.005923, allocations: 317.4 kB / 352.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.005925, allocations: 3.984 kB / 352.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.005948, allocations: 11.94 kB / 352.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.00595, allocations: 0 / 352.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.005958, allocations: 0 / 352.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.005959, allocations: 192 / 352.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005961, allocations: 0 / 352.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.407e-05/0.006035, allocations: 215.8 kB / 352.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-06/0.006041, allocations: 3.953 kB / 352.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.006051, allocations: 0 / 352.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.902e-05/0.00608, allocations: 15.98 kB / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.006113, allocations: 0 / 352.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.006116, allocations: 4 kB / 352.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.324e-05/0.00615, allocations: 143.7 kB / 353.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00615, allocations: 0 / 353.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001592/0.006309, allocations: 19.94 kB / 353.1 MB, free: 4.059 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 (5): * Single equations (assignments): 5 * 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.0008256/0.007134, allocations: 377.1 kB / 353.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.147e-05/0.007226, allocations: 27.69 kB / 353.5 MB, free: 3.746 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007227, allocations: 0 / 353.5 MB, free: 3.746 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.95e-05/0.007247, allocations: 19.67 kB / 353.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.007455, allocations: 29.05 kB / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.007782, allocations: 166 kB / 353.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.216e-05/0.007814, allocations: 59.34 kB / 353.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.363e-05/0.007848, allocations: 19.95 kB / 353.8 MB, free: 3.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.007874, allocations: 16.5 kB / 353.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.007876, allocations: 0 / 353.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of Templates: time 0.002907/0.01078, allocations: 1.152 MB / 354.9 MB, free: 2.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.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.2617674991488457]