Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.001044/0.001044, allocations: 81.91 kB / 21.42 MB, free: 3.074 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.0009243/0.0009243, allocations: 163.5 kB / 24.82 MB, free: 8.941 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.9961/0.9961, allocations: 177 MB / 205.1 MB, free: 5.461 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.2592/0.2592, allocations: 34.87 MB / 296.6 MB, free: 500 kB / 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.995e-05, allocations: 3.016 kB / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002201/0.00222, allocations: 1.764 MB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003398, allocations: 1.001 MB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.00349, allocations: 0 / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.003802, allocations: 43.69 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.004122, allocations: 99.47 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.004342, allocations: 83.59 kB / 382.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.004499, allocations: 103.7 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.004588, allocations: 11.98 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.084e-05/0.004679, allocations: 59.77 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.004744, allocations: 19.92 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.004758, allocations: 8 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.00484, allocations: 47.91 kB / 382.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.004882, allocations: 19.86 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.004915, allocations: 19.92 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.005063, allocations: 99.66 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005065, allocations: 3.938 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005066, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.105e-06/0.005069, allocations: 4 kB / 382.7 MB, free: 14.35 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.0003773/0.005446, allocations: 451.8 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.005479, allocations: 8.031 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.005512, allocations: 20.78 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.005651, allocations: 149.1 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.005664, allocations: 384 / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.00568, allocations: 4.375 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.726e-05/0.005777, allocations: 58.94 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.005785, allocations: 192 / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.005791, allocations: 4.312 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.005798, allocations: 15.92 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.005823, allocations: 7.984 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.006038, allocations: 264.4 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.593e-05/0.006113, allocations: 51.16 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.006135, allocations: 15.62 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.006148, allocations: 4 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.562e-05/0.006223, allocations: 61.05 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.011e-06/0.006224, allocations: 0 / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002736/0.006498, allocations: 141.4 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.006522, allocations: 59.39 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.006626, allocations: 222.3 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.006636, allocations: 25.7 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.006687, allocations: 158.8 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.006711, allocations: 27.78 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.00674, allocations: 27.36 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.006844, allocations: 0.4962 MB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.006862, allocations: 7.984 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.006889, allocations: 35.3 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.006931, allocations: 43.36 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.006931, allocations: 0 / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.224e-05/0.007024, allocations: 97.83 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.007033, allocations: 4 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.007037, allocations: 0 / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.007047, allocations: 4 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.007105, allocations: 19.98 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.007107, allocations: 0 / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.007135, allocations: 8 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.00714, allocations: 4.031 kB / 385.2 MB, free: 11.68 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 6.697e-05/0.007207, allocations: 168.4 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.007225, allocations: 23.84 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.007359, allocations: 91.14 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.007361, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.007362, allocations: 3.938 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.007366, allocations: 3.984 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.007605, allocations: 357.7 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007607, allocations: 3.938 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.007631, allocations: 12.03 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.007634, allocations: 4 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.00764, allocations: 3.984 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007641, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007642, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.00777, allocations: 259.4 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.00778, allocations: 7.953 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.007793, allocations: 0 / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.007833, allocations: 4 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.007856, allocations: 11.98 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.007865, allocations: 0 / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.891e-05/0.007924, allocations: 167.1 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007924, allocations: 0 / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.008085, allocations: 23.94 kB / 386.3 MB, free: 10.48 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.0008205/0.008906, allocations: 433.2 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.009001, allocations: 55.58 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.009003, allocations: 0 / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/0.009035, allocations: 31.61 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.009248, allocations: 35.88 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.009531, allocations: 221.9 kB / 387 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.009569, allocations: 67.34 kB / 387.1 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.566e-05/0.009605, allocations: 29.19 kB / 387.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.009668, allocations: 86.19 kB / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.009669, allocations: 0 / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of Templates: time 0.003385/0.01305, allocations: 2.034 MB / 389.2 MB, free: 7.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.047308003064245]