Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001393/0.001393, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001129/0.001129, allocations: 164.5 kB / 24.99 MB, free: 9.301 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 1.08/1.08, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2763/0.2763, allocations: 32.8 MB / 294.6 MB, free: 1.289 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.403e-05, allocations: 2.312 kB / 376.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003055/0.003089, allocations: 1.854 MB / 377.9 MB, free: 3.043 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.005207, allocations: 1.789 MB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.005324, allocations: 4 kB / 379.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.005671, allocations: 59.56 kB / 379.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.006099, allocations: 143.2 kB / 379.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.006321, allocations: 111.5 kB / 380 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.006581, allocations: 207.3 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.66e-05/0.006637, allocations: 13.75 kB / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.006781, allocations: 107.7 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.006937, allocations: 63.8 kB / 380.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.006964, allocations: 8 kB / 380.4 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.007165, allocations: 115.8 kB / 380.5 MB, free: 436 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.007236, allocations: 31.86 kB / 380.6 MB, free: 404 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.007303, allocations: 39.84 kB / 380.6 MB, free: 364 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.007648, allocations: 207.2 kB / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.007653, allocations: 0 / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.007654, allocations: 0 / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.00766, allocations: 3.938 kB / 380.8 MB, free: 152 kB / 346.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.0006271/0.008287, allocations: 0.511 MB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.008328, allocations: 8.031 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.008402, allocations: 28.8 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.00867, allocations: 188.2 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.008692, allocations: 4.375 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.008707, allocations: 8.312 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.008917, allocations: 165.1 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.008926, allocations: 3.938 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.008939, allocations: 4 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.008948, allocations: 0 / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.009, allocations: 27.84 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.009183, allocations: 164.3 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.009348, allocations: 102.2 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.009398, allocations: 39.28 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.009413, allocations: 0 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.009567, allocations: 112.4 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.009568, allocations: 0 / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002972/0.009865, allocations: 149.4 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.009928, allocations: 132.5 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.01014, allocations: 287.2 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.01016, allocations: 29.7 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.01023, allocations: 162.9 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.01027, allocations: 27.78 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.01031, allocations: 39.36 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.01044, allocations: 0.4962 MB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.01048, allocations: 15.98 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.01055, allocations: 129 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.245e-05/0.01064, allocations: 82.7 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01064, allocations: 0 / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001487/0.01079, allocations: 121.5 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.0108, allocations: 4 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01081, allocations: 7.938 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.01082, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.01092, allocations: 23.92 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.01092, allocations: 4 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.01097, allocations: 8 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.01098, allocations: 4.062 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.053e-05/0.01107, allocations: 168.6 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.0111, allocations: 27.78 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.01129, allocations: 139 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.0113, allocations: 0 / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.0113, allocations: 8 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01131, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.01144, allocations: 172.5 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01144, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.01148, allocations: 15.94 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.01148, allocations: 7.938 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.01149, allocations: 0 / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01149, allocations: 7.938 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.0115, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.01167, allocations: 176 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.0117, allocations: 23.89 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.01173, allocations: 4 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.286e-05/0.01177, allocations: 7.938 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.01182, allocations: 19.91 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.01183, allocations: 4 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.01195, allocations: 205.8 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01195, allocations: 0 / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.01217, allocations: 59.86 kB / 384.9 MB, free: 11.66 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001136/0.01331, allocations: 0.4908 MB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.01348, allocations: 71.59 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01348, allocations: 0 / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.874e-05/0.01354, allocations: 43.61 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.01381, allocations: 63.62 kB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.01438, allocations: 278.3 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.301e-05/0.01444, allocations: 75.98 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.748e-05/0.01453, allocations: 34.08 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.0146, allocations: 36.42 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.0146, allocations: 0 / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.006235/0.02083, allocations: 3.432 MB / 389.4 MB, free: 7.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.4754747201222926]