Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001475/0.001475, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001615/0.001615, allocations: 161.6 kB / 24.27 MB, free: 172 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.53/1.53, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.4042/0.4042, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.662e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003287/0.003314, allocations: 1.716 MB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.005197, allocations: 0.978 MB / 380.1 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.005265, allocations: 4 kB / 380.1 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.005539, allocations: 43.66 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.00587, allocations: 99.53 kB / 380.2 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.006098, allocations: 75.66 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.006293, allocations: 115.5 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.69e-05/0.00637, allocations: 4 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.006478, allocations: 51.89 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.006555, allocations: 35.78 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.006574, allocations: 4 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.006672, allocations: 43.92 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.006736, allocations: 19.92 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.006791, allocations: 23.92 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.007013, allocations: 115.6 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.00702, allocations: 7.938 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.007021, allocations: 0 / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.007025, allocations: 0 / 380.7 MB, free: 15.53 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.0005561/0.007581, allocations: 337.6 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.007627, allocations: 12.03 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.007694, allocations: 16.78 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.007971, allocations: 150.3 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.007986, allocations: 4.375 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.008007, allocations: 384 / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.008161, allocations: 62.23 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.008173, allocations: 3.938 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.008185, allocations: 3.984 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.008188, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.348e-05/0.008272, allocations: 27.97 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.008658, allocations: 236.4 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.008845, allocations: 58.67 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.008913, allocations: 24.78 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.008927, allocations: 0 / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.009088, allocations: 75.33 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.009089, allocations: 0 / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006085/0.009697, allocations: 177.6 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.009752, allocations: 59.39 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.009994, allocations: 202.7 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.01002, allocations: 25.7 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.01011, allocations: 108.1 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.01014, allocations: 27.73 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.01018, allocations: 21.72 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.01037, allocations: 330.8 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.01043, allocations: 20 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.03e-05/0.01051, allocations: 37.83 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.01067, allocations: 73.64 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.01067, allocations: 4 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00022/0.01089, allocations: 105.6 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.01091, allocations: 4 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01091, allocations: 0 / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.01093, allocations: 4 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.01102, allocations: 23.95 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.01103, allocations: 0 / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.01108, allocations: 8 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.01109, allocations: 0 / 382.9 MB, free: 13.14 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.0001273/0.01122, allocations: 133.3 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.01125, allocations: 19.91 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.01155, allocations: 119.1 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01155, allocations: 0 / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01155, allocations: 0 / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01156, allocations: 4 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.01207, allocations: 354.9 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01207, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.01211, allocations: 8 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.01212, allocations: 4 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.01213, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01213, allocations: 3.938 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.01214, allocations: 3.984 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.01245, allocations: 220.2 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.01247, allocations: 11.91 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.01249, allocations: 4.031 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.01257, allocations: 7.984 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.01262, allocations: 8 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.01263, allocations: 3.984 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.01279, allocations: 156.2 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01279, allocations: 0 / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.01306, allocations: 31.88 kB / 384 MB, free: 12.01 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.002219/0.01528, allocations: 487 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.0155, allocations: 63.91 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0155, allocations: 0 / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.01558, allocations: 28.08 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.01601, allocations: 40.05 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006521/0.01667, allocations: 237.7 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.01677, allocations: 92.3 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.01683, allocations: 12.97 kB / 384.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.01687, allocations: 16.5 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01687, allocations: 0 / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.005466/0.02234, allocations: 1.868 MB / 386.8 MB, free: 9.363 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.934801073046401]