Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.001264/0.001264, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.00101/0.00101, allocations: 173 kB / 24.06 MB, free: 456 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.028/1.028, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1468/0.1468, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.952e-05, allocations: 8.219 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.0025/0.00253, allocations: 1.718 MB / 349.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.003566, allocations: 0.792 MB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.003649, allocations: 4 kB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.003953, allocations: 35.77 kB / 350.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.004154, allocations: 55.7 kB / 350.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.004346, allocations: 87.69 kB / 350.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.004491, allocations: 99.64 kB / 351 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.004581, allocations: 8.219 kB / 351 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.004671, allocations: 51.83 kB / 351 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.004739, allocations: 23.92 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.004757, allocations: 4 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.19e-05/0.004839, allocations: 47.91 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.004885, allocations: 23.86 kB / 351.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.004923, allocations: 19.92 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.005075, allocations: 95.59 kB / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005077, allocations: 0 / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.005078, allocations: 0 / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.005082, allocations: 0 / 351.3 MB, free: 6.016 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.0003788/0.005461, allocations: 436 kB / 351.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.005507, allocations: 12.03 kB / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.005544, allocations: 16.84 kB / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.005696, allocations: 148.3 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.005713, allocations: 4.375 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.005738, allocations: 8.359 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.005854, allocations: 58.88 kB / 351.9 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.005866, allocations: 3.938 kB / 351.9 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.005874, allocations: 4 kB / 351.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.005881, allocations: 0 / 351.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.00591, allocations: 8 kB / 351.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.006153, allocations: 256.4 kB / 352.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.33e-05/0.006246, allocations: 63.09 kB / 352.3 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.006269, allocations: 15.69 kB / 352.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.006288, allocations: 3.938 kB / 352.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.27e-05/0.00638, allocations: 72.97 kB / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.006382, allocations: 0 / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003495/0.006732, allocations: 133.5 kB / 352.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.00676, allocations: 51.41 kB / 352.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.00686, allocations: 214.9 kB / 352.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.00687, allocations: 33.7 kB / 352.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.006914, allocations: 150.8 kB / 352.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.006942, allocations: 31.77 kB / 352.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.006978, allocations: 27.38 kB / 353 MB, free: 4.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.007045, allocations: 0.4962 MB / 353.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.868e-05/0.007063, allocations: 7.984 kB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.671e-05/0.0071, allocations: 39.3 kB / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.007151, allocations: 39.36 kB / 353.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007153, allocations: 4 kB / 353.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001071/0.00726, allocations: 89.59 kB / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.007276, allocations: 7.984 kB / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.007282, allocations: 80 / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.007298, allocations: 0 / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.007371, allocations: 16 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.007377, allocations: 3.984 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.007409, allocations: 0 / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.007416, allocations: 7.984 kB / 353.7 MB, free: 3.375 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 7.238e-05/0.007488, allocations: 164.5 kB / 353.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.007509, allocations: 19.84 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.007656, allocations: 98.41 kB / 354 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.007658, allocations: 4 kB / 354 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.00766, allocations: 0 / 354 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.007663, allocations: 0 / 354 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.007894, allocations: 357.6 kB / 354.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.007896, allocations: 0 / 354.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.007924, allocations: 8 kB / 354.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.007927, allocations: 8.359 kB / 354.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.007934, allocations: 4 kB / 354.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.007936, allocations: 4.031 kB / 354.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.007937, allocations: 8 kB / 354.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.008053, allocations: 255.3 kB / 354.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.008064, allocations: 7.953 kB / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.008081, allocations: 0 / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.865e-05/0.008139, allocations: 8 kB / 354.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.008166, allocations: 7.984 kB / 354.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.008176, allocations: 0 / 354.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.604e-05/0.008222, allocations: 155.1 kB / 354.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008223, allocations: 4 kB / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.008456, allocations: 27.92 kB / 354.8 MB, free: 2.18 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.001264/0.00972, allocations: 441 kB / 355.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.497e-05/0.009814, allocations: 51.58 kB / 355.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.009816, allocations: 7.938 kB / 355.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.411e-05/0.00985, allocations: 19.84 kB / 355.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.01013, allocations: 39.95 kB / 355.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.01045, allocations: 209.6 kB / 355.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.413e-05/0.01048, allocations: 71.34 kB / 355.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.561e-05/0.01052, allocations: 12.48 kB / 355.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.01058, allocations: 90.19 kB / 355.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01058, allocations: 0 / 355.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of Templates: time 0.003896/0.01448, allocations: 2.009 MB / 357.7 MB, free: 15.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.15517194615677]