Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001867/0.001867, allocations: 83.67 kB / 20.96 MB, free: 3.32 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.001978/0.001978, allocations: 161.3 kB / 24.27 MB, free: 12 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.695/1.695, allocations: 177.2 MB / 204.6 MB, free: 5.602 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.3859/0.3859, allocations: 34.27 MB / 295.3 MB, free: 0.6367 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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.314e-05, allocations: 2.312 kB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003613/0.003646, allocations: 1.734 MB / 379.1 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.005668, allocations: 1.005 MB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.005738, allocations: 0 / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.00606, allocations: 47.64 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.006428, allocations: 91.66 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.006646, allocations: 75.66 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.006862, allocations: 111.5 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.006954, allocations: 7.984 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.007073, allocations: 51.91 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.007167, allocations: 35.83 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.007202, allocations: 7.938 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.007315, allocations: 43.92 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.00738, allocations: 19.92 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.00744, allocations: 19.92 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.007712, allocations: 111.6 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.007717, allocations: 3.938 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007718, allocations: 4 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.007723, allocations: 0 / 380.7 MB, free: 15.49 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.000777/0.0085, allocations: 451.6 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.008543, allocations: 8.031 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.008619, allocations: 24.77 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.008892, allocations: 150.1 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.008906, allocations: 384 / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.008928, allocations: 4.375 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.009076, allocations: 54.23 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.0091, allocations: 3.938 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.009111, allocations: 0 / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.009115, allocations: 0 / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.009195, allocations: 19.98 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.009645, allocations: 307.7 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.009828, allocations: 59.16 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.009889, allocations: 31.61 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.009904, allocations: 0 / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.01007, allocations: 76.98 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.01007, allocations: 0 / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005701/0.01064, allocations: 173.4 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.0107, allocations: 55.39 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.01096, allocations: 250.4 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.01098, allocations: 29.7 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.01111, allocations: 158.8 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.01115, allocations: 31.72 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.01121, allocations: 31.38 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002855/0.01149, allocations: 0.5001 MB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.01155, allocations: 16.36 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.01163, allocations: 43.36 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.01176, allocations: 71.23 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.01176, allocations: 4 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000227/0.01199, allocations: 109.7 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01201, allocations: 10.03 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.01201, allocations: 0 / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01203, allocations: 4 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.01212, allocations: 19.92 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.01213, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.01217, allocations: 4 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.01218, allocations: 0 / 383.4 MB, free: 12.62 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.0001381/0.01232, allocations: 168.5 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.01235, allocations: 19.91 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.01262, allocations: 115.1 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.01262, allocations: 4 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.01263, allocations: 0 / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01263, allocations: 0 / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000677/0.01331, allocations: 420.9 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01331, allocations: 0 / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.01335, allocations: 8 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.01336, allocations: 4 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.01337, allocations: 4 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.01337, allocations: 7.922 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.01338, allocations: 4 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.01369, allocations: 267.5 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.01372, allocations: 15.91 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.01374, allocations: 0 / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.01381, allocations: 4 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.01386, allocations: 7.984 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.01388, allocations: 8 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.01404, allocations: 180.1 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01404, allocations: 0 / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.0143, allocations: 31.88 kB / 384.6 MB, free: 11.29 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.003329/0.01762, allocations: 495.6 kB / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.01785, allocations: 71.59 kB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01785, allocations: 0 / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.01794, allocations: 39.61 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.01831, allocations: 36.39 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.01886, allocations: 226 kB / 385.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.01898, allocations: 96.3 kB / 385.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.01903, allocations: 12.97 kB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.01907, allocations: 16.5 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01908, allocations: 4 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.005923/0.025, allocations: 1.871 MB / 387.5 MB, free: 8.609 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.1505917710019276]