Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.0009678/0.0009678, 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.001832/0.001832, allocations: 170.6 kB / 24.99 MB, free: 8.789 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.295/0.295, allocations: 34.26 MB / 296 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 378.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.722e-05, allocations: 4.281 kB / 378.1 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002567/0.002594, allocations: 1.758 MB / 379.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.003904, allocations: 1.001 MB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.004002, allocations: 4 kB / 380.9 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.004297, allocations: 39.7 kB / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.00464, allocations: 99.45 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.004945, allocations: 79.62 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.005138, allocations: 111.6 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.005239, allocations: 8 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.005328, allocations: 59.81 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.005409, allocations: 27.86 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.005427, allocations: 4 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.005527, allocations: 43.92 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.005586, allocations: 19.91 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.005626, allocations: 15.94 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.005817, allocations: 103.6 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.005822, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.005823, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.005828, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.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.0005018/0.00633, allocations: 459.7 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.006367, allocations: 8.031 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.006421, allocations: 20.84 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.006603, allocations: 153.1 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.006622, allocations: 384 / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.006644, allocations: 4.375 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.006787, allocations: 62.94 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.006798, allocations: 3.938 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.006808, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.006816, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.094e-05/0.006857, allocations: 23.92 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.007199, allocations: 287.8 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.007319, allocations: 51.17 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.007352, allocations: 15.62 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.007367, allocations: 4 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.007492, allocations: 76.97 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.007494, allocations: 0 / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004267/0.007921, allocations: 149.4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.007957, allocations: 55.41 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.008102, allocations: 238.3 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.008117, allocations: 29.7 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.008177, allocations: 154.8 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.008206, allocations: 23.8 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.008238, allocations: 27.38 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.008361, allocations: 0.5001 MB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.008388, allocations: 8 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.008426, allocations: 39.3 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.973e-05/0.008486, allocations: 51.25 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.008487, allocations: 4 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001246/0.008611, allocations: 97.58 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.008625, allocations: 4 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.008632, allocations: 4 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.008647, allocations: 0 / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.008736, allocations: 16 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.008742, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.008774, allocations: 7.984 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.008783, allocations: 7.984 kB / 384 MB, free: 12.71 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 7.973e-05/0.008862, allocations: 168.1 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.00888, allocations: 15.89 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.009036, allocations: 103.1 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.009039, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.009042, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.009046, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.009369, allocations: 392.9 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.009371, allocations: 4 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.009402, allocations: 20.3 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.009405, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.009415, allocations: 8.031 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.009419, allocations: 4 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.009421, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.00958, allocations: 255.4 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.009594, allocations: 11.91 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.009614, allocations: 4 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/0.009658, allocations: 7.984 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.009696, allocations: 7.984 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.009712, allocations: 4 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.215e-05/0.009795, allocations: 172.1 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009795, allocations: 4 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001815/0.009976, allocations: 27.94 kB / 385.2 MB, free: 11.44 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.000999/0.01098, allocations: 435.7 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.01111, allocations: 59.58 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01111, allocations: 0 / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.207e-05/0.01115, allocations: 31.61 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.01141, allocations: 31.97 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.01182, allocations: 222.1 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.43e-05/0.01186, allocations: 63.34 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.943e-05/0.0119, allocations: 12.97 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.01194, allocations: 16.5 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01194, allocations: 0 / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003802/0.01574, allocations: 1.867 MB / 387.9 MB, free: 8.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.356481884839013]