Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008888/0.0008888, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004808/0.004808, allocations: 156 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8919/0.8919, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2508/0.2508, allocations: 34.25 MB / 295.6 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.387e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.1988/0.1988, allocations: 1.777 MB / 445.3 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2, allocations: 1.049 MB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.19e-05/0.2001, allocations: 7.531 kB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004902/0.2006, allocations: 305.8 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.201, allocations: 266.1 kB / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.2012, allocations: 108 kB / 447 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2014, allocations: 272.1 kB / 447.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.2014, allocations: 6.781 kB / 447.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.2016, allocations: 150.7 kB / 447.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.2017, allocations: 210.8 kB / 447.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.2017, allocations: 11.75 kB / 447.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.012e-05/0.2018, allocations: 46.23 kB / 447.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.2019, allocations: 148.7 kB / 447.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.202, allocations: 71.83 kB / 447.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.2022, allocations: 355.2 kB / 448.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2022, allocations: 2.781 kB / 448.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2022, allocations: 0 / 448.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2023, allocations: 0 / 448.2 MB, free: 42.53 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006392/0.2029, allocations: 0.6769 MB / 448.9 MB, free: 42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2029, allocations: 11.25 kB / 448.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.211e-05/0.203, allocations: 59.31 kB / 449 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.2034, allocations: 395.1 kB / 449.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2034, allocations: 4.094 kB / 449.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.2034, allocations: 3.25 kB / 449.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.2036, allocations: 86.69 kB / 449.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2036, allocations: 1.844 kB / 449.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2036, allocations: 384 / 449.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2036, allocations: 10.72 kB / 449.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.588e-05/0.2036, allocations: 35.5 kB / 449.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.2039, allocations: 310.5 kB / 449.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.204, allocations: 106.1 kB / 449.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.2041, allocations: 39.31 kB / 450 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2041, allocations: 0 / 450 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.2042, allocations: 116.2 kB / 450.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.2042, allocations: 0 / 450.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002785/0.2045, allocations: 207.6 kB / 450.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.2045, allocations: 91.83 kB / 450.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/0.2051, allocations: 1.06 MB / 451.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.2051, allocations: 29.7 kB / 451.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.2052, allocations: 238.5 kB / 451.7 MB, free: 40.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.2052, allocations: 33.78 kB / 451.7 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.2052, allocations: 29.69 kB / 451.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.2053, allocations: 367.4 kB / 452.1 MB, free: 40.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.2053, allocations: 34.92 kB / 452.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.714e-05/0.2054, allocations: 57.91 kB / 452.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.273e-05/0.2055, allocations: 97.75 kB / 452.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2055, allocations: 0 / 452.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001512/0.2056, allocations: 170.9 kB / 452.5 MB, free: 39.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2056, allocations: 5.562 kB / 452.5 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2057, allocations: 2.594 kB / 452.5 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2057, allocations: 0 / 452.5 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.2057, allocations: 35.14 kB / 452.5 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2057, allocations: 5.812 kB / 452.5 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.2058, allocations: 17.83 kB / 452.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2058, allocations: 2.938 kB / 452.5 MB, free: 39.88 MB / 410.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0001153/0.2059, allocations: 227.8 kB / 452.8 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.206, allocations: 51.02 kB / 452.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.2062, allocations: 214 kB / 453 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2062, allocations: 3.938 kB / 453 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2062, allocations: 3.938 kB / 453 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2062, allocations: 6.656 kB / 453 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.2063, allocations: 266 kB / 453.3 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2063, allocations: 0 / 453.3 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.461e-05/0.2063, allocations: 15.19 kB / 453.3 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2063, allocations: 0 / 453.3 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.2064, allocations: 9.875 kB / 453.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2064, allocations: 0 / 453.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2064, allocations: 0 / 453.3 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.2065, allocations: 218.7 kB / 453.5 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.2066, allocations: 61.36 kB / 453.6 MB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.2066, allocations: 14.2 kB / 453.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.702e-05/0.2066, allocations: 3.219 kB / 453.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.2067, allocations: 17.48 kB / 453.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2067, allocations: 11.59 kB / 453.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004268/0.2071, allocations: 0.7933 MB / 454.4 MB, free: 38.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2071, allocations: 0 / 454.4 MB, free: 38.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.2073, allocations: 47.56 kB / 454.5 MB, free: 38.96 MB / 410.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0006943/0.208, allocations: 427.4 kB / 454.9 MB, free: 38.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.2081, allocations: 90.72 kB / 455 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2081, allocations: 0 / 455 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/0.2082, allocations: 47.62 kB / 455 MB, free: 38.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.2084, allocations: 67.3 kB / 455.1 MB, free: 38.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.2092, allocations: 0.9397 MB / 456 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2093, allocations: 245.7 kB / 456.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.2093, allocations: 32 kB / 456.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2093, allocations: 0 / 456.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of Templates: time 0.004433/0.2138, allocations: 5.369 MB / 461.7 MB, free: 37.39 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.143688844516873]