Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001831/0.001831, 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.001581/0.001581, allocations: 161.7 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.536/1.536, 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.3554/0.3554, allocations: 34.27 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 377.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.675e-05/3.906e-05, allocations: 2.312 kB / 377.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.005277/0.005316, allocations: 1.904 MB / 379.3 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.008176, allocations: 1.017 MB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.008306, allocations: 0 / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.008733, allocations: 51.62 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004926/0.009226, allocations: 103.4 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.009598, allocations: 91.64 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.009961, allocations: 155.4 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.01014, allocations: 25.78 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.01033, allocations: 67.83 kB / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.01048, allocations: 43.81 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.01052, allocations: 8 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.01068, allocations: 51.86 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.01079, allocations: 27.91 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.0109, allocations: 35.84 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.0113, allocations: 143.5 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01131, allocations: 0 / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.01131, allocations: 0 / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.01131, allocations: 4 kB / 381.1 MB, free: 15.16 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009919/0.01231, allocations: 411 kB / 381.5 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.01236, allocations: 12.03 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.01247, allocations: 24.8 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.01295, allocations: 166.3 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.01297, allocations: 4.375 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.01302, allocations: 8.375 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.01342, allocations: 149.9 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.01344, allocations: 3.938 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.01346, allocations: 8 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.01347, allocations: 0 / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.01371, allocations: 47.91 kB / 381.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.01458, allocations: 460.7 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.01506, allocations: 82.61 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.01521, allocations: 40.83 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.01523, allocations: 4 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.01555, allocations: 109.1 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.01555, allocations: 0 / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006302/0.01618, allocations: 149.5 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.01624, allocations: 59.34 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.01658, allocations: 199.7 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.01662, allocations: 33.7 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.01675, allocations: 116 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.0168, allocations: 31.78 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.054e-05/0.01688, allocations: 37.66 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.01712, allocations: 326.8 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.01725, allocations: 27.98 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.01744, allocations: 67.52 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.01775, allocations: 100.2 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01775, allocations: 0 / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004542/0.01821, allocations: 149.4 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.01823, allocations: 4 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01823, allocations: 0 / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.01827, allocations: 4 kB / 383.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.01843, allocations: 24.11 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.01844, allocations: 8 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01855, allocations: 7.938 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.01857, allocations: 7.984 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001786/0.01875, allocations: 137.7 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.0188, allocations: 15.91 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.01924, allocations: 131 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.01925, allocations: 4 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.01926, allocations: 11.92 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01926, allocations: 4 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.01952, allocations: 157.2 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01952, allocations: 0 / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.01964, allocations: 12 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01964, allocations: 0 / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.01966, allocations: 4 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.01967, allocations: 7.969 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01967, allocations: 4 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/0.02028, allocations: 193.4 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.02032, allocations: 19.98 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.02035, allocations: 4 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.02045, allocations: 8 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.02051, allocations: 3.984 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.02053, allocations: 4 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002194/0.02075, allocations: 151.2 kB / 384.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02075, allocations: 3.938 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.02115, allocations: 27.94 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002656/0.02381, allocations: 446.8 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003829/0.02419, allocations: 79.89 kB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.0242, allocations: 0 / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.02435, allocations: 35.92 kB / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.02481, allocations: 43.09 kB / 385.4 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/0.02567, allocations: 272.1 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.02584, allocations: 106.4 kB / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.447e-05/0.02593, allocations: 17.48 kB / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.026, allocations: 16.5 kB / 385.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.026, allocations: 0 / 385.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.00745/0.03345, allocations: 2.056 MB / 387.8 MB, free: 8.254 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.972085462068208]