Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001384/0.001384, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001213/0.001213, allocations: 174.4 kB / 24.91 MB, free: 8.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9453/0.9453, allocations: 177.1 MB / 205.3 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 32.8 MB / 294.6 MB, free: 1.168 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 323.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.024e-05, allocations: 3.891 kB / 323.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003305/0.003335, allocations: 1.702 MB / 325 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.005039, allocations: 1.001 MB / 326 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.00514, allocations: 3.938 kB / 326 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.005474, allocations: 39.83 kB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.005893, allocations: 111.4 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.006178, allocations: 79.59 kB / 326.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.006381, allocations: 95.7 kB / 326.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.006434, allocations: 12.83 kB / 326.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.006556, allocations: 55.78 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.00664, allocations: 19.92 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.006657, allocations: 4 kB / 326.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.006765, allocations: 31.97 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.006828, allocations: 31.86 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.006867, allocations: 15.94 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.007067, allocations: 111.5 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.00707, allocations: 0 / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.007072, allocations: 0 / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.007076, allocations: 0 / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004378/0.007514, allocations: 341.3 kB / 326.9 MB, free: 5.918 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.007553, allocations: 8.031 kB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.007594, allocations: 8.938 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.007803, allocations: 158.4 kB / 327.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.00782, allocations: 384 / 327.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.007836, allocations: 8.375 kB / 327.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.00796, allocations: 65.7 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.007969, allocations: 3.938 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.007976, allocations: 0 / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.007981, allocations: 0 / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.008005, allocations: 4 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.008119, allocations: 78.67 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.383e-05/0.008213, allocations: 33.44 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.008237, allocations: 16.86 kB / 327.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.008248, allocations: 0 / 327.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.506e-05/0.008343, allocations: 66.16 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.008344, allocations: 4 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001349/0.008479, allocations: 57.67 kB / 327.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.00852, allocations: 55.34 kB / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.008693, allocations: 225 kB / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.00871, allocations: 25.7 kB / 327.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.008746, allocations: 96.09 kB / 327.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.008774, allocations: 11.91 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.008812, allocations: 21.7 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.008912, allocations: 330.8 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.008936, allocations: 14.77 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.521e-05/0.008961, allocations: 21.7 kB / 328.2 MB, free: 4.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.009007, allocations: 31.36 kB / 328.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.009009, allocations: 0 / 328.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001029/0.009112, allocations: 72.42 kB / 328.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.009125, allocations: 4 kB / 328.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.009129, allocations: 0 / 328.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.009142, allocations: 0 / 328.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.009205, allocations: 15.92 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.009208, allocations: 8.031 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.009244, allocations: 0 / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.00925, allocations: 4 kB / 328.4 MB, free: 4.336 MB / 298.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 (7): * Single equations (assignments): 7 * 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 9.682e-05/0.009347, allocations: 128.5 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.009366, allocations: 7.984 kB / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.009486, allocations: 66.83 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009489, allocations: 0 / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.009492, allocations: 4.312 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.009496, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.009619, allocations: 93.84 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.009621, allocations: 4 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.009651, allocations: 4 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.009654, allocations: 0 / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.00966, allocations: 4 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.009663, allocations: 0 / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.009664, allocations: 0 / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.00978, allocations: 94.64 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/0.009801, allocations: 15.91 kB / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.009822, allocations: 3.984 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.632e-05/0.009849, allocations: 0 / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.009872, allocations: 4 kB / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.009883, allocations: 7.938 kB / 328.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.929e-05/0.009973, allocations: 88.7 kB / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009973, allocations: 0 / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.01016, allocations: 16 kB / 328.9 MB, free: 3.746 MB / 298.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: 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 (6): * Single equations (assignments): 4 * 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.001533/0.01169, allocations: 0.498 MB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.01179, allocations: 32.77 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.0118, allocations: 4 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.513e-05/0.01184, allocations: 24.91 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.01202, allocations: 19.98 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.01262, allocations: 239.8 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.397e-05/0.01268, allocations: 75.33 kB / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.072e-05/0.01273, allocations: 12.73 kB / 329.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.01282, allocations: 63.36 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of SimCode: time 1.233e-06/0.01282, allocations: 0 / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of Templates: time 0.004537/0.01735, allocations: 1.809 MB / 331.7 MB, free: 1.219 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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: 2.981015686877072]