Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001098/0.001098, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001155/0.001155, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9796/0.9796, allocations: 177.2 MB / 205 MB, free: 5.289 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.2398/0.2398, allocations: 32.81 MB / 294.3 MB, free: 1.246 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.641e-05, allocations: 8.781 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002155/0.002181, allocations: 1.766 MB / 377.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003308, allocations: 1.005 MB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.003373, allocations: 0 / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.003632, allocations: 43.7 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.003893, allocations: 99.47 kB / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.00404, allocations: 79.59 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.004187, allocations: 103.7 kB / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.004267, allocations: 8 kB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.718e-05/0.004344, allocations: 59.77 kB / 379.3 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.004413, allocations: 27.91 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.004427, allocations: 4 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.429e-05/0.004502, allocations: 47.91 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.004545, allocations: 15.92 kB / 379.4 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.004581, allocations: 19.94 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.004737, allocations: 99.53 kB / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004739, allocations: 0 / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.00474, allocations: 4 kB / 379.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004743, allocations: 0 / 379.5 MB, free: 1.195 MB / 346.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.0004298/0.005173, allocations: 443.9 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.005207, allocations: 8.031 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.005253, allocations: 8.891 kB / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.005407, allocations: 156.3 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.005424, allocations: 4.375 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.005442, allocations: 384 / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.005555, allocations: 66.88 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005564, allocations: 3.938 kB / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005574, allocations: 0 / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.005581, allocations: 0 / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.558e-05/0.005617, allocations: 19.98 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.005881, allocations: 275.8 kB / 380.4 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.812e-05/0.00598, allocations: 55.11 kB / 380.5 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.006008, allocations: 19.62 kB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.006019, allocations: 4 kB / 380.5 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.006125, allocations: 72.98 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006126, allocations: 0 / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003495/0.006476, allocations: 149.4 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.006503, allocations: 59.41 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.006616, allocations: 218.5 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.006626, allocations: 25.7 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.006676, allocations: 150.9 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.006699, allocations: 23.8 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.00673, allocations: 31.36 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.006829, allocations: 0.4923 MB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.006852, allocations: 12 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.006885, allocations: 35.67 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.00694, allocations: 55.3 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.006941, allocations: 4 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.912e-05/0.00704, allocations: 93.53 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.007051, allocations: 5.406 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.007055, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.007067, allocations: 4 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.007131, allocations: 15.98 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.007135, allocations: 0 / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.007164, allocations: 8 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.007169, allocations: 0 / 382 MB, free: 14.49 MB / 362.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 6.534e-05/0.007234, allocations: 172.5 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.007249, allocations: 11.95 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.007383, allocations: 110.5 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007385, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.00739, allocations: 3.984 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007393, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.007651, allocations: 392.9 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.007654, allocations: 3.984 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.007678, allocations: 8 kB / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.007681, allocations: 0 / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.007688, allocations: 8.031 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007689, allocations: 0 / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00769, allocations: 0 / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.007815, allocations: 255.4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.007825, allocations: 7.953 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.007842, allocations: 7.984 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.796e-05/0.00788, allocations: 4 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.00791, allocations: 7.984 kB / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.007921, allocations: 7.938 kB / 382.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.174e-05/0.007993, allocations: 167.9 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007993, allocations: 4 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.008161, allocations: 23.94 kB / 383.1 MB, free: 13.23 MB / 362.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.0008923/0.009053, allocations: 443.6 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.009195, allocations: 51.64 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.009198, allocations: 3.938 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.009242, allocations: 35.67 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.009478, allocations: 35.89 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.009816, allocations: 210.4 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.009857, allocations: 67.33 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.362e-05/0.009891, allocations: 16.95 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.009925, allocations: 16.5 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.009926, allocations: 0 / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Templates: time 0.003447/0.01337, allocations: 1.999 MB / 386 MB, free: 10.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.09884016122669]