Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001356/0.001356, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001035/0.001035, allocations: 165 kB / 23.8 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.9631/0.9631, 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.1397/0.1397, 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.CombiTable1Ds.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.942e-05/4.184e-05, allocations: 6.25 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003797/0.003839, allocations: 1.614 MB / 349.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004883/0.004327, allocations: 331.4 kB / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.004389, allocations: 0 / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.004705, allocations: 95.67 kB / 349.7 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.004876, allocations: 63.69 kB / 349.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.005064, allocations: 75.83 kB / 349.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.005211, allocations: 87.73 kB / 349.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.005307, allocations: 8.188 kB / 349.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.201e-05/0.005369, allocations: 43.89 kB / 350 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.005462, allocations: 59.86 kB / 350 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.005481, allocations: 0 / 350 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.044e-05/0.005541, allocations: 31.92 kB / 350.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.005594, allocations: 27.92 kB / 350.1 MB, free: 7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.005628, allocations: 11.92 kB / 350.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.00578, allocations: 91.61 kB / 350.2 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.005783, allocations: 3.938 kB / 350.2 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.005785, allocations: 4 kB / 350.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.00579, allocations: 0 / 350.2 MB, free: 6.891 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.0003467/0.006136, allocations: 440 kB / 350.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.006172, allocations: 8.031 kB / 350.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.006213, allocations: 16.84 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.00632, allocations: 144.4 kB / 350.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.00633, allocations: 8.375 kB / 350.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.00635, allocations: 384 / 350.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.006452, allocations: 62.94 kB / 350.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.006462, allocations: 4.125 kB / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.006471, allocations: 7.938 kB / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.006478, allocations: 0 / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.006513, allocations: 19.98 kB / 350.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.006756, allocations: 295.7 kB / 351.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/0.006819, allocations: 58.86 kB / 351.2 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.00684, allocations: 11.69 kB / 351.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.00686, allocations: 3.984 kB / 351.3 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.006876, allocations: 37.52 kB / 351.3 MB, free: 5.664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.006877, allocations: 0 / 351.3 MB, free: 5.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003554/0.007232, allocations: 137.4 kB / 351.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.007258, allocations: 59.41 kB / 351.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.007371, allocations: 242.6 kB / 351.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.007376, allocations: 29.7 kB / 351.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.007417, allocations: 158.8 kB / 351.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.007437, allocations: 27.75 kB / 351.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.007463, allocations: 27.36 kB / 352 MB, free: 4.941 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.369e-05/0.007517, allocations: 0.504 MB / 352.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.007536, allocations: 4 kB / 352.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.007551, allocations: 8 kB / 352.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.00759, allocations: 39.84 kB / 352.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.007592, allocations: 4 kB / 352.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.341e-05/0.007665, allocations: 81.61 kB / 352.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.007674, allocations: 4 kB / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007679, allocations: 0 / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.007691, allocations: 0 / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.011e-05/0.007741, allocations: 16.36 kB / 352.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.007747, allocations: 4 kB / 352.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.007763, allocations: 4 kB / 352.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.00777, allocations: 8 kB / 352.6 MB, free: 4.246 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.461e-05/0.007814, allocations: 160.5 kB / 352.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.00784, allocations: 23.91 kB / 352.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.007951, allocations: 87.06 kB / 352.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007954, allocations: 4 kB / 352.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.007958, allocations: 0 / 352.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.007961, allocations: 0 / 352.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.008152, allocations: 369.3 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.008153, allocations: 0 / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.00818, allocations: 19.92 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.008182, allocations: 0 / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.008188, allocations: 0 / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.00819, allocations: 4 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.008191, allocations: 4 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.705e-05/0.008268, allocations: 227.8 kB / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.008277, allocations: 11.91 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.008287, allocations: 3.984 kB / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.77e-05/0.008315, allocations: 0 / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.008354, allocations: 11.98 kB / 353.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.008357, allocations: 4 kB / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.208e-05/0.008409, allocations: 175.1 kB / 353.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008409, allocations: 0 / 353.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001505/0.008559, allocations: 20 kB / 353.7 MB, free: 3.066 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.0007341/0.009293, allocations: 377.4 kB / 354.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.681e-05/0.00939, allocations: 47.59 kB / 354.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.009391, allocations: 4 kB / 354.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.009417, allocations: 27.67 kB / 354.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.009614, allocations: 25.23 kB / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.009925, allocations: 222.2 kB / 354.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.009958, allocations: 67.33 kB / 354.5 MB, free: 2.348 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.992e-05/0.009988, allocations: 12.73 kB / 354.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.01002, allocations: 24.48 kB / 354.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01002, allocations: 4 kB / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of Templates: time 0.002729/0.01275, allocations: 1.319 MB / 355.9 MB, free: 1 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.169513017870486]