Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001074/0.001074, 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.001035/0.001035, allocations: 163 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.2556/0.2556, allocations: 32.81 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 376.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.442e-05, allocations: 4.281 kB / 376.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002214/0.002238, allocations: 1.769 MB / 377.8 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.003445, allocations: 1.001 MB / 378.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.003521, allocations: 0 / 378.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.003806, allocations: 47.69 kB / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.004087, allocations: 99.47 kB / 379 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.004259, allocations: 83.59 kB / 379.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.004414, allocations: 103.7 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.004501, allocations: 7.984 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.383e-05/0.004584, allocations: 59.77 kB / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.004652, allocations: 23.91 kB / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.004666, allocations: 4 kB / 379.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.729e-05/0.004743, allocations: 39.94 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.004792, allocations: 31.84 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.00483, allocations: 19.92 kB / 379.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.004993, allocations: 99.66 kB / 379.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004995, allocations: 0 / 379.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.004997, allocations: 4 kB / 379.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005001, allocations: 0 / 379.5 MB, free: 1.52 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.0004386/0.00544, allocations: 455.7 kB / 379.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.005475, allocations: 12.03 kB / 379.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.005525, allocations: 12.89 kB / 379.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.005691, allocations: 160.9 kB / 380.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.005709, allocations: 384 / 380.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.005728, allocations: 12.36 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.005853, allocations: 58.94 kB / 380.2 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.005863, allocations: 3.938 kB / 380.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.005874, allocations: 8 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.005881, allocations: 0 / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.005915, allocations: 11.94 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.006202, allocations: 283.8 kB / 380.5 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.006303, allocations: 51.16 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.006334, allocations: 27.62 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.006345, allocations: 3.984 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.708e-05/0.006442, allocations: 68.98 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.006444, allocations: 0 / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003677/0.006811, allocations: 165.5 kB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.00684, allocations: 51.41 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.00699, allocations: 237.9 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.007003, allocations: 29.7 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.007061, allocations: 154.8 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.007087, allocations: 23.78 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.007118, allocations: 31.38 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.007235, allocations: 0.5001 MB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.007263, allocations: 12.19 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.007299, allocations: 35.36 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.00736, allocations: 55.25 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.007361, allocations: 0 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001182/0.007479, allocations: 93.56 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.007492, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.007496, allocations: 0 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.007508, allocations: 7.969 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.007581, allocations: 16 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.007587, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.007616, allocations: 7.938 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.007622, allocations: 4 kB / 382 MB, free: 14.74 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.13e-05/0.007693, allocations: 164.5 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.007709, allocations: 11.95 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.00785, allocations: 111.2 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.007852, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.007856, allocations: 0 / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007859, allocations: 4 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.008138, allocations: 396.9 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.008141, allocations: 7.984 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.008165, allocations: 11.94 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.008167, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.008175, allocations: 4 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.008177, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008178, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.008335, allocations: 259.4 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.008347, allocations: 11.91 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.008367, allocations: 12.02 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.008405, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.00844, allocations: 11.98 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.008452, allocations: 4 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.962e-05/0.008532, allocations: 176.1 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008532, allocations: 0 / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.00871, allocations: 31.92 kB / 383.2 MB, free: 13.46 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.0008905/0.009601, allocations: 439.7 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.009722, allocations: 55.61 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.009724, allocations: 3.938 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.009765, allocations: 35.61 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.009996, allocations: 35.95 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.01033, allocations: 217.9 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.184e-05/0.01037, allocations: 71.33 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.829e-05/0.01041, allocations: 21.39 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.01044, allocations: 20.5 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01044, allocations: 0 / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003485/0.01393, allocations: 1.873 MB / 386 MB, free: 10.83 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.286803053924814]