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.001182/0.001182, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001632/0.001632, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9006/0.9006, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1267/0.1267, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.122e-06/1.122e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.52e-05, allocations: 6.25 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001713/0.001728, allocations: 1.618 MB / 349.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007639/0.002492, allocations: 1.056 MB / 350.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.00254, allocations: 0 / 350.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.002757, allocations: 27.78 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.002933, allocations: 47.7 kB / 350.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.003096, allocations: 71.78 kB / 350.5 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.003213, allocations: 63.78 kB / 350.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.003329, allocations: 20.16 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.609e-05/0.003395, allocations: 31.91 kB / 350.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.708e-05/0.003483, allocations: 35.66 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.0035, allocations: 4 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.003583, allocations: 47.92 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.003622, allocations: 19.91 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.003649, allocations: 11.94 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.003809, allocations: 91.66 kB / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003811, allocations: 0 / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003812, allocations: 0 / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003816, allocations: 0 / 350.8 MB, free: 6.285 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.0003061/0.004122, allocations: 408.2 kB / 351.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.004155, allocations: 12.03 kB / 351.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.004195, allocations: 16.89 kB / 351.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.00432, allocations: 136.5 kB / 351.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.004329, allocations: 384 / 351.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.004356, allocations: 4.375 kB / 351.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.0045, allocations: 112 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.004513, allocations: 4.125 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.004525, allocations: 7.938 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.004534, allocations: 0 / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.004574, allocations: 11.98 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.004836, allocations: 287.6 kB / 351.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.004901, allocations: 54.98 kB / 351.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.004923, allocations: 11.69 kB / 351.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.00495, allocations: 3.984 kB / 351.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.00497, allocations: 45.5 kB / 351.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.004972, allocations: 0 / 351.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000399/0.005371, allocations: 121.4 kB / 352 MB, free: 4.922 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.005402, allocations: 81.11 kB / 352.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.005501, allocations: 189.8 kB / 352.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.005508, allocations: 25.7 kB / 352.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.005546, allocations: 142.9 kB / 352.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.005569, allocations: 35.81 kB / 352.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.005599, allocations: 27.36 kB / 352.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.005653, allocations: 0.4961 MB / 353 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.005673, allocations: 8 kB / 353 MB, free: 3.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/0.005706, allocations: 61.12 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.005748, allocations: 31.69 kB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.00575, allocations: 384 / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.849e-05/0.005828, allocations: 69.58 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.005842, allocations: 8 kB / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.005848, allocations: 0 / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.005866, allocations: 4.031 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.005956, allocations: 23.98 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.00596, allocations: 0 / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.005979, allocations: 4 kB / 353.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.005984, allocations: 0 / 353.2 MB, free: 3.637 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.93e-05/0.006033, allocations: 164.5 kB / 353.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.006053, allocations: 11.94 kB / 353.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.006176, allocations: 90.03 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.006178, allocations: 0 / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.006182, allocations: 3.938 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006186, allocations: 4 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.006404, allocations: 353.3 kB / 353.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.006406, allocations: 0 / 353.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.006441, allocations: 12 kB / 353.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.006444, allocations: 0 / 353.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.006451, allocations: 4 kB / 353.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.006454, allocations: 3.984 kB / 353.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006455, allocations: 0 / 353.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.583e-05/0.006551, allocations: 224.2 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-06/0.006558, allocations: 3.953 kB / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.00657, allocations: 4 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.006601, allocations: 8 kB / 354.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.00664, allocations: 11.92 kB / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.006643, allocations: 0 / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.083e-05/0.006684, allocations: 154 kB / 354.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006684, allocations: 0 / 354.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.006871, allocations: 23.94 kB / 354.3 MB, free: 2.512 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.0008095/0.007681, allocations: 430.3 kB / 354.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.007782, allocations: 35.67 kB / 354.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007784, allocations: 4 kB / 354.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.563e-05/0.007809, allocations: 35.61 kB / 354.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.007996, allocations: 23.86 kB / 354.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.008272, allocations: 174.4 kB / 355 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.319e-05/0.008295, allocations: 63.34 kB / 355 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.008331, allocations: 17.02 kB / 355 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.008359, allocations: 16.48 kB / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of SimCode: time 6.02e-07/0.00836, allocations: 4 kB / 355.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of Templates: time 0.002777/0.01114, allocations: 1.51 MB / 356.6 MB, free: 256 kB / 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.051228315103799]