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.002408/0.002408, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002761/0.002761, allocations: 165.3 kB / 24.27 MB, free: 152 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.56/1.56, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3783/0.3783, allocations: 34.26 MB / 295.3 MB, free: 0.6875 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.413e-06/1.413e-06, allocations: 0 / 377.4 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.649e-05, allocations: 2.312 kB / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003461/0.003487, allocations: 1.739 MB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.005415, allocations: 0.9976 MB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.005476, allocations: 0 / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.005826, allocations: 39.72 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004001/0.006226, allocations: 99.47 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.006483, allocations: 87.64 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.006718, allocations: 107.6 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.006827, allocations: 7.984 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.006961, allocations: 55.83 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.153e-05/0.007053, allocations: 27.91 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.007077, allocations: 7.938 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.007187, allocations: 43.92 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.007255, allocations: 19.92 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.007305, allocations: 19.92 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.007558, allocations: 119.5 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.007565, allocations: 4 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007566, allocations: 4 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.007571, allocations: 0 / 380.7 MB, free: 15.5 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.0006964/0.008267, allocations: 447.5 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.008302, allocations: 12.03 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.00836, allocations: 12.84 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.008608, allocations: 161.1 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.008621, allocations: 384 / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.008643, allocations: 4.375 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.008791, allocations: 58.17 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.008807, allocations: 3.938 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.008816, allocations: 4 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.00882, allocations: 0 / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/0.008911, allocations: 15.98 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.009364, allocations: 303.7 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.009552, allocations: 63.11 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.009615, allocations: 27.61 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.009636, allocations: 4 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.00979, allocations: 69.05 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.009791, allocations: 0 / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006025/0.01039, allocations: 181.4 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.01044, allocations: 51.41 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.0107, allocations: 250.4 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.01072, allocations: 25.7 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.01085, allocations: 158.8 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.01089, allocations: 31.8 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.01095, allocations: 27.36 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002718/0.01122, allocations: 0.5001 MB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-05/0.01128, allocations: 20 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.01136, allocations: 43.67 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.01151, allocations: 83.3 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.01151, allocations: 0 / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002306/0.01174, allocations: 109.6 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.01175, allocations: 4 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01176, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.01177, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.01187, allocations: 19.98 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.01188, allocations: 0 / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.01192, allocations: 0 / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.01193, allocations: 4 kB / 383.4 MB, free: 12.63 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.0001394/0.01207, allocations: 184 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.0121, allocations: 15.91 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.01236, allocations: 115.1 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.01237, allocations: 4 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01237, allocations: 0 / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01237, allocations: 0 / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.01293, allocations: 420.9 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01293, allocations: 0 / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.01298, allocations: 11.98 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.01298, allocations: 0 / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.01299, allocations: 8.031 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01299, allocations: 0 / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01299, allocations: 0 / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.01332, allocations: 271.4 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.01334, allocations: 11.91 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.01337, allocations: 3.984 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.01344, allocations: 4 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.01348, allocations: 7.984 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.0135, allocations: 7.984 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001748/0.01367, allocations: 184.1 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01367, allocations: 0 / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.01393, allocations: 27.92 kB / 384.6 MB, free: 11.3 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.003433/0.01736, allocations: 499.2 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.0176, allocations: 67.66 kB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.0176, allocations: 0 / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.01769, allocations: 39.77 kB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.01806, allocations: 36.12 kB / 385.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.01861, allocations: 226 kB / 385.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.01872, allocations: 104.2 kB / 385.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.141e-05/0.01877, allocations: 13.11 kB / 385.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.01882, allocations: 24.48 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01882, allocations: 0 / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.006109/0.02493, allocations: 1.859 MB / 387.5 MB, free: 8.625 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] 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.901429168996401]