Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001816/0.001816, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002039/0.002039, allocations: 161.3 kB / 24.27 MB, free: 156 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.627/1.627, 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.3634/0.3634, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.586e-05, allocations: 2.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.00546/0.005496, allocations: 1.731 MB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.00905, allocations: 1.001 MB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.684e-05/0.009147, allocations: 0 / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.009543, allocations: 39.7 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006124/0.01016, allocations: 99.53 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.01056, allocations: 79.55 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.01087, allocations: 111.6 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.01099, allocations: 8 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.01119, allocations: 55.81 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.01131, allocations: 23.92 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.01134, allocations: 7.938 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.01151, allocations: 47.91 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.74e-05/0.0116, allocations: 19.92 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.01167, allocations: 15.94 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.01206, allocations: 119.5 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.01206, allocations: 0 / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01206, allocations: 4 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.01207, allocations: 0 / 380.7 MB, free: 15.51 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.0009567/0.01302, allocations: 451.5 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.01308, allocations: 8.031 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.177e-05/0.01317, allocations: 16.89 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.01355, allocations: 148.4 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.01357, allocations: 384 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.01359, allocations: 4.375 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.01382, allocations: 58.17 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.01384, allocations: 3.938 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.01386, allocations: 4 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.01386, allocations: 4 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.01399, allocations: 15.98 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.01466, allocations: 291.8 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.015, allocations: 63.09 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.01511, allocations: 27.61 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.01514, allocations: 4 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.0154, allocations: 73.05 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.0154, allocations: 0 / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009864/0.01639, allocations: 181.3 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.01646, allocations: 55.41 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.0169, allocations: 242.5 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.01693, allocations: 25.7 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.01712, allocations: 158.9 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.01718, allocations: 23.84 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.01728, allocations: 27.38 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004674/0.01774, allocations: 0.5001 MB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.01786, allocations: 23.98 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.01802, allocations: 47.67 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.01828, allocations: 71.38 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01828, allocations: 0 / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004179/0.0187, allocations: 109.5 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.01872, allocations: 10.03 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01872, allocations: 0 / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.01874, allocations: 0 / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.0189, allocations: 15.94 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01891, allocations: 0 / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.019, allocations: 11.94 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.01903, allocations: 8 kB / 383.4 MB, free: 12.65 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.0002232/0.01925, allocations: 176.4 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.0193, allocations: 11.95 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004699/0.01977, allocations: 115.1 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01978, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01978, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01979, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.02072, allocations: 416.9 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.02073, allocations: 0 / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.02079, allocations: 8 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.0208, allocations: 0 / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.02082, allocations: 12.03 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.02082, allocations: 0 / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.02082, allocations: 0 / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.02139, allocations: 271.4 kB / 384.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.02143, allocations: 15.91 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.02147, allocations: 0 / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.0216, allocations: 4 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.02167, allocations: 7.984 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.02169, allocations: 4 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002767/0.02197, allocations: 175.8 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.02197, allocations: 0 / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005254/0.0225, allocations: 31.98 kB / 384.6 MB, free: 11.34 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.00555/0.02805, allocations: 495.2 kB / 385.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.02843, allocations: 71.64 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.02843, allocations: 8 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.02861, allocations: 35.83 kB / 385.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.02927, allocations: 32.12 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.03009, allocations: 230.2 kB / 385.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.03027, allocations: 92.3 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.55e-05/0.03036, allocations: 17.03 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.03044, allocations: 20.48 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 6.32e-07/0.03044, allocations: 0 / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of Templates: time 0.009066/0.0395, allocations: 1.867 MB / 387.4 MB, free: 8.668 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.938837648020126]