Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.0009231/0.0009231, allocations: 77 kB / 20.65 MB, free: 3.848 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.001005/0.001005, allocations: 177 kB / 24.06 MB, free: 456 kB / 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.055/1.055, allocations: 158.6 MB / 186 MB, free: 2.398 MB / 170.7 MB " [Timeout remaining time 179] 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.1657/0.1657, allocations: 32.37 MB / 270.7 MB, free: 14.51 MB / 266.7 MB " [Timeout remaining time 180] 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.143e-05, allocations: 4.281 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002703/0.002735, allocations: 1.722 MB / 349.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.0038, allocations: 0.7843 MB / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.003901, allocations: 0 / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.004257, allocations: 43.7 kB / 350.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.004488, allocations: 63.69 kB / 350.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.004747, allocations: 87.69 kB / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.004906, allocations: 95.64 kB / 351 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.004999, allocations: 8.234 kB / 351 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.35e-05/0.005082, allocations: 51.88 kB / 351.1 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.005157, allocations: 23.86 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.005176, allocations: 4 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.005267, allocations: 47.91 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.005324, allocations: 19.92 kB / 351.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.005367, allocations: 19.94 kB / 351.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.005538, allocations: 99.59 kB / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005541, allocations: 0 / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.005543, allocations: 0 / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005547, allocations: 0 / 351.3 MB, free: 6.016 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003957/0.005943, allocations: 451.8 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.005986, allocations: 8.031 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.006023, allocations: 8.891 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.006153, allocations: 144.4 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.006168, allocations: 384 / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.006188, allocations: 20.27 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.006307, allocations: 54.94 kB / 351.9 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.006317, allocations: 7.938 kB / 351.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.006325, allocations: 0 / 351.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.00633, allocations: 0 / 351.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.708e-05/0.006357, allocations: 15.98 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.006576, allocations: 260.4 kB / 352.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.51e-05/0.006662, allocations: 55.09 kB / 352.3 MB, free: 4.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.006683, allocations: 15.67 kB / 352.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.0067, allocations: 8 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.821e-05/0.006788, allocations: 68.98 kB / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.006789, allocations: 0 / 352.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003034/0.007092, allocations: 133.4 kB / 352.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.00711, allocations: 51.41 kB / 352.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.007195, allocations: 224 kB / 352.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.007203, allocations: 25.7 kB / 352.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.00724, allocations: 154.8 kB / 352.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.007266, allocations: 27.8 kB / 353 MB, free: 4.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.007298, allocations: 35.34 kB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.007358, allocations: 0.5 MB / 353.5 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.007379, allocations: 4 kB / 353.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.007408, allocations: 35.34 kB / 353.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.007452, allocations: 35.38 kB / 353.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.007454, allocations: 0 / 353.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001181/0.007572, allocations: 101.5 kB / 353.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.007588, allocations: 4 kB / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.007597, allocations: 80 / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.00761, allocations: 0 / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.007698, allocations: 20.03 kB / 353.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.007705, allocations: 7.922 kB / 353.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.007741, allocations: 11.92 kB / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.007748, allocations: 4 kB / 353.7 MB, free: 3.348 MB / 282.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 8.237e-05/0.00783, allocations: 156.6 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.007853, allocations: 23.84 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.008001, allocations: 98.38 kB / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.008005, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.008007, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.008011, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.008275, allocations: 357.6 kB / 354.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.008279, allocations: 4 kB / 354.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.008312, allocations: 12.36 kB / 354.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.008316, allocations: 0 / 354.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.008323, allocations: 4 kB / 354.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.008326, allocations: 4 kB / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008327, allocations: 0 / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.00846, allocations: 255.4 kB / 354.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.008479, allocations: 7.953 kB / 354.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.008501, allocations: 12.03 kB / 354.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/0.008551, allocations: 3.984 kB / 354.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.008588, allocations: 4 kB / 354.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.008606, allocations: 7.984 kB / 354.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.063e-05/0.008666, allocations: 160 kB / 354.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008666, allocations: 3.938 kB / 354.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.008846, allocations: 23.94 kB / 354.8 MB, free: 2.156 MB / 282.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.00104/0.009885, allocations: 434 kB / 355.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.01001, allocations: 55.53 kB / 355.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01001, allocations: 0 / 355.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.01004, allocations: 27.81 kB / 355.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.01027, allocations: 43.25 kB / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.01061, allocations: 221.3 kB / 355.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.777e-05/0.01065, allocations: 67.33 kB / 355.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.871e-05/0.01069, allocations: 16.48 kB / 355.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.01075, allocations: 94.31 kB / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of SimCode: time 1.453e-06/0.01075, allocations: 0 / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of Templates: time 0.004012/0.01476, allocations: 2.014 MB / 357.8 MB, free: 15.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2545197922736406]