Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.001858/0.001858, allocations: 87.72 kB / 20.21 MB, free: 4.066 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.002123/0.002123, allocations: 161.3 kB / 23.52 MB, free: 0.7578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2311/0.2311, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.93e-05, allocations: 2.312 kB / 347 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003491/0.00352, allocations: 1.828 MB / 348.9 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.005508, allocations: 0.8817 MB / 349.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.005628, allocations: 4 kB / 349.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006287/0.006256, allocations: 163.4 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.006683, allocations: 139.4 kB / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.007056, allocations: 155.5 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.007323, allocations: 223.3 kB / 350.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.007427, allocations: 13.8 kB / 350.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.007603, allocations: 123.7 kB / 350.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.007777, allocations: 119.7 kB / 350.7 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.00781, allocations: 8 kB / 350.7 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.007918, allocations: 43.92 kB / 350.7 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/0.008003, allocations: 51.78 kB / 350.8 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.008072, allocations: 43.78 kB / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.008397, allocations: 195.3 kB / 351 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.0084, allocations: 0 / 351 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008401, allocations: 0 / 351 MB, free: 5.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.008407, allocations: 0 / 351 MB, free: 5.73 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006765/0.009084, allocations: 0.565 MB / 351.6 MB, free: 5.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.009135, allocations: 8.031 kB / 351.6 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.009215, allocations: 28.78 kB / 351.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.009496, allocations: 203.6 kB / 351.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.009513, allocations: 8.359 kB / 351.8 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.00954, allocations: 8.375 kB / 351.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.009748, allocations: 109.5 kB / 351.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.009767, allocations: 3.938 kB / 351.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.009783, allocations: 0 / 351.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.00979, allocations: 4 kB / 351.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.009914, allocations: 35.97 kB / 352 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.01043, allocations: 498.6 kB / 352.4 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.01071, allocations: 130.2 kB / 352.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.01081, allocations: 43.36 kB / 352.6 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.01084, allocations: 8 kB / 352.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.01111, allocations: 132.3 kB / 352.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.01111, allocations: 0 / 352.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001097/0.01221, allocations: 356.7 kB / 353.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.01224, allocations: 81.11 kB / 353.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.01262, allocations: 374.3 kB / 353.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.01264, allocations: 25.7 kB / 353.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.01275, allocations: 207.1 kB / 353.8 MB, free: 2.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/0.0128, allocations: 47.64 kB / 353.8 MB, free: 2.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.01288, allocations: 43.36 kB / 353.9 MB, free: 2.621 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.01306, allocations: 0.5351 MB / 354.4 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.01321, allocations: 39.98 kB / 354.4 MB, free: 2.035 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.01337, allocations: 86.72 kB / 354.5 MB, free: 1.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.01364, allocations: 130.8 kB / 354.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01364, allocations: 0.75 kB / 354.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004164/0.01406, allocations: 185.4 kB / 354.8 MB, free: 1.602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.01408, allocations: 8 kB / 354.8 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.01409, allocations: 0 / 354.8 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.01411, allocations: 4.062 kB / 354.8 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.0143, allocations: 39.92 kB / 354.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.01431, allocations: 3.984 kB / 354.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.01442, allocations: 8 kB / 354.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.01444, allocations: 8 kB / 354.9 MB, free: 1.531 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001267/0.01456, allocations: 180.5 kB / 355.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.01463, allocations: 35.8 kB / 355.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005238/0.01515, allocations: 199.3 kB / 355.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.01516, allocations: 4 kB / 355.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.01516, allocations: 0 / 355.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.01517, allocations: 7.984 kB / 355.3 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009299/0.0161, allocations: 0.6794 MB / 356 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.0161, allocations: 0 / 356 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.01619, allocations: 31.92 kB / 356 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.0162, allocations: 7.922 kB / 356 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.01622, allocations: 4 kB / 356 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01622, allocations: 320 / 356 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.01623, allocations: 11.92 kB / 356 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006368/0.01686, allocations: 490.1 kB / 356.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.01692, allocations: 27.92 kB / 356.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.01697, allocations: 4 kB / 356.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.01715, allocations: 8 kB / 356.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.01724, allocations: 15.91 kB / 356.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.01728, allocations: 12 kB / 356.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003725/0.01765, allocations: 251 kB / 356.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01765, allocations: 0 / 356.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005316/0.01818, allocations: 51.88 kB / 356.9 MB, free: 15.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.004058/0.02224, allocations: 0.4911 MB / 357.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.02268, allocations: 127.5 kB / 357.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.02268, allocations: 3.938 kB / 357.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.02288, allocations: 71.59 kB / 357.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008182/0.0237, allocations: 61.91 kB / 357.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.02486, allocations: 424.6 kB / 358.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.02509, allocations: 136.8 kB / 358.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.02521, allocations: 34.23 kB / 358.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.196e-05/0.0253, allocations: 24.5 kB / 358.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0253, allocations: 0 / 358.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of Templates: time 0.01115/0.03645, allocations: 2.899 MB / 361.1 MB, free: 11.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.276008239015937]