Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001826/0.001826, allocations: 91.61 kB / 20.96 MB, free: 3.438 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.00197/0.00197, allocations: 165.3 kB / 24.27 MB, free: 128 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.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3427/0.3427, allocations: 32.79 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.714e-05/3.899e-05, allocations: 6.25 kB / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.005651/0.00569, allocations: 1.746 MB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003888/0.009578, allocations: 0.986 MB / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.009723, allocations: 8 kB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.01029, allocations: 43.69 kB / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007061/0.01099, allocations: 99.47 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.01146, allocations: 79.61 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.0118, allocations: 103.7 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.01195, allocations: 15.92 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.01218, allocations: 47.84 kB / 378.5 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.01233, allocations: 31.89 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.01236, allocations: 8 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.01255, allocations: 43.92 kB / 378.6 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.01265, allocations: 19.92 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/0.01274, allocations: 23.86 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.01319, allocations: 119.6 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.0132, allocations: 0 / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.0132, allocations: 0 / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.0132, allocations: 0 / 378.7 MB, free: 1.535 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.001054/0.01426, allocations: 447.6 kB / 379.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.01432, allocations: 8.031 kB / 379.2 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.01443, allocations: 16.84 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.01482, allocations: 161.1 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.01485, allocations: 4.375 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.01488, allocations: 4.375 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.01511, allocations: 54.17 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.01513, allocations: 3.938 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.01515, allocations: 0 / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.01516, allocations: 4 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.01528, allocations: 19.92 kB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.01603, allocations: 295.7 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.01638, allocations: 75.09 kB / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.01649, allocations: 23.62 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.01652, allocations: 3.984 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.01679, allocations: 69.05 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.01679, allocations: 0 / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001019/0.01781, allocations: 169.4 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.01789, allocations: 55.41 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.01836, allocations: 250.4 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.0184, allocations: 25.7 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.0186, allocations: 166.7 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/0.01869, allocations: 35.77 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.607e-05/0.01879, allocations: 27.38 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004496/0.01924, allocations: 0.504 MB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.01935, allocations: 23.92 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.0195, allocations: 43.36 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.01975, allocations: 59.31 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01975, allocations: 4 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003813/0.02013, allocations: 101.6 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.02015, allocations: 4 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.02017, allocations: 8.031 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.02018, allocations: 0 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.02033, allocations: 12.38 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.02034, allocations: 3.984 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/0.02042, allocations: 8 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.02046, allocations: 11.98 kB / 381.4 MB, free: 14.66 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.0002107/0.02067, allocations: 168.5 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.02072, allocations: 15.91 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.02119, allocations: 123.2 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.0212, allocations: 0 / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.0212, allocations: 4 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.02121, allocations: 0 / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009957/0.0222, allocations: 420.9 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.02221, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.0223, allocations: 12 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.0223, allocations: 3.938 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.02232, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.02234, allocations: 7.984 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.02234, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.02291, allocations: 267.4 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.02295, allocations: 11.94 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.023, allocations: 12 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.02313, allocations: 0 / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.02319, allocations: 7.984 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.02322, allocations: 4 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002908/0.02351, allocations: 184.1 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.02351, allocations: 0 / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005001/0.02401, allocations: 27.94 kB / 382.6 MB, free: 13.33 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.005354/0.02937, allocations: 495.1 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.02977, allocations: 71.53 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.02977, allocations: 3.938 kB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.02994, allocations: 39.67 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.03061, allocations: 31.97 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.03146, allocations: 234 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.03163, allocations: 96.3 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.721e-05/0.03173, allocations: 25.27 kB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.0318, allocations: 16.5 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.03181, allocations: 0 / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.009886/0.04169, allocations: 1.861 MB / 385.5 MB, free: 10.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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: 5.013931716908701]