Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001265/0.001265, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001402/0.001402, allocations: 165.3 kB / 24.99 MB, free: 8.336 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.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2532/0.2532, allocations: 34.26 MB / 296 MB, free: 0.7891 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.682e-05, allocations: 5.547 kB / 378.1 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002165/0.002182, allocations: 1.762 MB / 379.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.003365, allocations: 1.005 MB / 380.9 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.003444, allocations: 4 kB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.003735, allocations: 31.72 kB / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.004045, allocations: 99.52 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.004234, allocations: 83.55 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.004406, allocations: 111.6 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.004512, allocations: 7.984 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.004601, allocations: 55.83 kB / 381.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.413e-05/0.004675, allocations: 23.92 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.004692, allocations: 7.984 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.949e-05/0.004771, allocations: 43.92 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.004821, allocations: 23.86 kB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.004858, allocations: 15.94 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.005023, allocations: 95.66 kB / 381.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.005026, allocations: 3.984 kB / 381.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005027, allocations: 4 kB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.00503, allocations: 0 / 381.5 MB, free: 15.52 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.0004669/0.005497, allocations: 443.9 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.005534, allocations: 11.97 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.005585, allocations: 16.89 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.005753, allocations: 148.4 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.005774, allocations: 8.359 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.005794, allocations: 4.375 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.00591, allocations: 58.94 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.005923, allocations: 3.938 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.005933, allocations: 4 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.00594, allocations: 0 / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.775e-05/0.005978, allocations: 15.92 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.006267, allocations: 275.8 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.006367, allocations: 59.14 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.0064, allocations: 23.62 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.006412, allocations: 0 / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.701e-05/0.006509, allocations: 76.97 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.00651, allocations: 4 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003678/0.006877, allocations: 153.3 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.006916, allocations: 59.39 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.007053, allocations: 222.6 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.007069, allocations: 33.7 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.007129, allocations: 150.9 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.007156, allocations: 23.8 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.007197, allocations: 31.36 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.007353, allocations: 0.4923 MB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.007382, allocations: 12 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.726e-05/0.007419, allocations: 35.36 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.304e-05/0.007492, allocations: 55.23 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.007493, allocations: 0 / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001234/0.007616, allocations: 101.6 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.007631, allocations: 4.625 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.007638, allocations: 4 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.007652, allocations: 0 / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.007735, allocations: 15.98 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.007741, allocations: 0 / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.007772, allocations: 8 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.00778, allocations: 7.938 kB / 384 MB, free: 12.78 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 0.0001113/0.007891, allocations: 160.5 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.007907, allocations: 11.95 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.008067, allocations: 111.1 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008069, allocations: 0 / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.008073, allocations: 0 / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.008078, allocations: 0 / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.008466, allocations: 392.9 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.008469, allocations: 3.984 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.008505, allocations: 15.94 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008507, allocations: 0 / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.008516, allocations: 0 / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.008518, allocations: 4 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.008519, allocations: 4.031 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.008663, allocations: 259.4 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.008678, allocations: 11.91 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.008695, allocations: 4.359 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.00874, allocations: 4 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.008774, allocations: 11.98 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.008787, allocations: 4 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.241e-05/0.00886, allocations: 167.8 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00886, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.009052, allocations: 23.94 kB / 385.2 MB, free: 11.53 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.0009405/0.009992, allocations: 436.1 kB / 385.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01011, allocations: 55.59 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01011, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.01015, allocations: 31.61 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.01039, allocations: 39.92 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.01071, allocations: 214.3 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.01074, allocations: 71.41 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.121e-05/0.01078, allocations: 12.97 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.0108, allocations: 16.5 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0108, allocations: 0 / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.00351/0.01431, allocations: 1.867 MB / 387.9 MB, free: 8.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.21685684309341]