Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.00148/0.00148, 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.00158/0.00158, allocations: 161 kB / 24.55 MB, free: 20 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 1.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.613 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.2605/0.2605, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.126e-05, allocations: 2.312 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.004781/0.004803, allocations: 1.774 MB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.006239, allocations: 1.012 MB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003081/0.00932, allocations: 0 / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003607/0.009681, allocations: 47.7 kB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.01003, allocations: 99.47 kB / 379 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.01023, allocations: 79.59 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.01043, allocations: 107.7 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.01054, allocations: 4 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.01064, allocations: 67.75 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.01072, allocations: 19.92 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.01074, allocations: 4 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.771e-05/0.01084, allocations: 47.91 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.0109, allocations: 23.92 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.01095, allocations: 19.88 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.01116, allocations: 99.64 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.01116, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01116, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.01117, allocations: 0 / 379.5 MB, free: 1.164 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.0005439/0.01171, allocations: 467.7 kB / 379.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.01175, allocations: 12.03 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.0118, allocations: 8.891 kB / 380 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.012, allocations: 160.8 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.01202, allocations: 384 / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.01205, allocations: 8.375 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.01219, allocations: 58.94 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.0122, allocations: 3.938 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.01221, allocations: 0 / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003023/0.01523, allocations: 4 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.54e-05/0.01528, allocations: 19.91 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.0156, allocations: 283.8 kB / 380.5 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.01573, allocations: 55.17 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.01576, allocations: 19.61 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.01578, allocations: 4 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.01588, allocations: 72.97 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.01588, allocations: 0 / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004128/0.0163, allocations: 157.3 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.01633, allocations: 55.41 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.01649, allocations: 241.9 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.01651, allocations: 25.7 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.01657, allocations: 154.8 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.0166, allocations: 23.8 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.01664, allocations: 31.36 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.01676, allocations: 0.4962 MB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.01679, allocations: 11.98 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.01683, allocations: 31.38 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.93e-05/0.0169, allocations: 55.23 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.0169, allocations: 4.375 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001272/0.01703, allocations: 97.56 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.01704, allocations: 4 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.01705, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.01706, allocations: 4 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.01715, allocations: 19.98 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01716, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.01719, allocations: 3.953 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.0172, allocations: 8 kB / 382 MB, free: 14.38 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 8.419e-05/0.01728, allocations: 164.5 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.01731, allocations: 19.94 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.01748, allocations: 107.2 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01748, allocations: 4 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01749, allocations: 3.984 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01749, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.01783, allocations: 392.9 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01783, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.01787, allocations: 11.94 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01787, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01788, allocations: 12.02 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01788, allocations: 4 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01788, allocations: 0 / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.01805, allocations: 255.4 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003027/0.02108, allocations: 11.91 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.0211, allocations: 0 / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.02116, allocations: 8 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.0212, allocations: 7.984 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.02121, allocations: 4 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.614e-05/0.02131, allocations: 184.1 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02131, allocations: 0 / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.02155, allocations: 23.94 kB / 383.2 MB, free: 13.1 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.001025/0.02258, allocations: 436.1 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.0227, allocations: 55.59 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.02271, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.02275, allocations: 35.61 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.02305, allocations: 31.97 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.02355, allocations: 230 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.565e-05/0.02359, allocations: 67.34 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.994e-05/0.02363, allocations: 21.25 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.02367, allocations: 16.5 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02367, allocations: 3.938 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of Templates: time 0.007191/0.03086, allocations: 1.873 MB / 386 MB, free: 10.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.3156943479552865]