Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.001124/0.001124, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001074/0.001074, allocations: 173.4 kB / 24.05 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 0.9489/0.9489, allocations: 158.6 MB / 185.9 MB, free: 2.812 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.1269/0.1269, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.632e-05, allocations: 6.25 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002248/0.002274, allocations: 1.722 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000943/0.003217, allocations: 0.7842 MB / 350.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.871e-05/0.003306, allocations: 4 kB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.00368, allocations: 39.77 kB / 350.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.003909, allocations: 59.69 kB / 350.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.004109, allocations: 91.64 kB / 350.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.004249, allocations: 95.69 kB / 351 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.004343, allocations: 8.234 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.004426, allocations: 55.81 kB / 351.1 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/0.00451, allocations: 19.92 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.00453, allocations: 4 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.64e-05/0.004606, allocations: 47.91 kB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.004656, allocations: 23.86 kB / 351.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.004694, allocations: 15.94 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.004847, allocations: 99.59 kB / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.00485, allocations: 4 kB / 351.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004851, allocations: 0 / 351.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.004856, allocations: 0 / 351.3 MB, free: 6.008 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.0003991/0.005255, allocations: 443.9 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.005298, allocations: 12.03 kB / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.005334, allocations: 8.891 kB / 351.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.005466, allocations: 144.4 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.005484, allocations: 384 / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.005505, allocations: 12.33 kB / 351.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.005628, allocations: 62.81 kB / 351.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.00564, allocations: 11.92 kB / 352 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.005648, allocations: 4 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005654, allocations: 0 / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.697e-05/0.005681, allocations: 11.98 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.005895, allocations: 252.5 kB / 352.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.851e-05/0.005984, allocations: 59.09 kB / 352.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.006006, allocations: 15.67 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.006024, allocations: 4 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.903e-05/0.006113, allocations: 72.97 kB / 352.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.006114, allocations: 4 kB / 352.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003284/0.006443, allocations: 129.4 kB / 352.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.006463, allocations: 55.41 kB / 352.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.00655, allocations: 224 kB / 352.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.006559, allocations: 25.7 kB / 352.8 MB, free: 4.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.006599, allocations: 154.8 kB / 352.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.006623, allocations: 23.8 kB / 353 MB, free: 4.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.006651, allocations: 27.36 kB / 353 MB, free: 4.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.006708, allocations: 0.4923 MB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.006722, allocations: 15.98 kB / 353.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.006748, allocations: 39.28 kB / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.006785, allocations: 35.38 kB / 353.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.006786, allocations: 0 / 353.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.753e-05/0.006864, allocations: 101.5 kB / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.006875, allocations: 4 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.006881, allocations: 80 / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.006894, allocations: 0 / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-05/0.006963, allocations: 16 kB / 353.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.006968, allocations: 8.016 kB / 353.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.006997, allocations: 3.984 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.007005, allocations: 8 kB / 353.7 MB, free: 3.352 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.431e-05/0.007079, allocations: 160.5 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.007096, allocations: 23.84 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.007231, allocations: 94.38 kB / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.007233, allocations: 4 kB / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.007235, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.00724, allocations: 3.938 kB / 354 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.007474, allocations: 357.6 kB / 354.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.007476, allocations: 0 / 354.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.007503, allocations: 15.98 kB / 354.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007505, allocations: 0 / 354.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.007512, allocations: 384 / 354.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.007514, allocations: 4 kB / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007516, allocations: 4 kB / 354.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.007625, allocations: 259.4 kB / 354.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.007636, allocations: 7.953 kB / 354.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.007653, allocations: 4 kB / 354.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.007692, allocations: 7.984 kB / 354.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.00772, allocations: 8.031 kB / 354.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.007733, allocations: 7.984 kB / 354.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.708e-05/0.00778, allocations: 156 kB / 354.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.007781, allocations: 0 / 354.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.007954, allocations: 27.94 kB / 354.8 MB, free: 2.152 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.0008295/0.008784, allocations: 434.7 kB / 355.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.818e-05/0.008882, allocations: 47.58 kB / 355.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008884, allocations: 4 kB / 355.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.008915, allocations: 31.83 kB / 355.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.009146, allocations: 39.97 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.009454, allocations: 213.4 kB / 355.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.009486, allocations: 71.27 kB / 355.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.137e-05/0.009517, allocations: 12.48 kB / 355.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.009576, allocations: 94.19 kB / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.009577, allocations: 4.062 kB / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of Templates: time 0.003513/0.01309, allocations: 2.008 MB / 357.8 MB, free: 15.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.2414756710641086]