Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001116/0.001116, allocations: 72.33 kB / 22.21 MB, free: 2.301 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.0008969/0.0008969, allocations: 165.2 kB / 25.61 MB, free: 8.91 MB / 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 0.9788/0.9788, allocations: 177.1 MB / 206.1 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.151/0.151, allocations: 32.8 MB / 295.4 MB, free: 15.4 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.939e-05, allocations: 5.547 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002214/0.002234, allocations: 1.944 MB / 379.3 MB, free: 23.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.003507, allocations: 1.021 MB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.003615, allocations: 11.94 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.00393, allocations: 43.69 kB / 380.4 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.004208, allocations: 107.3 kB / 380.5 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.004408, allocations: 99.58 kB / 380.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.004572, allocations: 151.5 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.877e-05/0.00467, allocations: 25.78 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.004758, allocations: 67.83 kB / 380.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.145e-05/0.00484, allocations: 43.81 kB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.004856, allocations: 8 kB / 380.9 MB, free: 22.01 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.004941, allocations: 55.86 kB / 380.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.004988, allocations: 27.91 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.005026, allocations: 31.86 kB / 381 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.005189, allocations: 115.6 kB / 381.1 MB, free: 21.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005191, allocations: 4 kB / 381.1 MB, free: 21.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005192, allocations: 0 / 381.1 MB, free: 21.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.005197, allocations: 0 / 381.1 MB, free: 21.78 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004086/0.005606, allocations: 0.509 MB / 381.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.005638, allocations: 11.98 kB / 381.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.005677, allocations: 24.84 kB / 381.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.005825, allocations: 177 kB / 381.8 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.005842, allocations: 8.375 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.005864, allocations: 4.375 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.005999, allocations: 139.6 kB / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.006009, allocations: 3.938 kB / 382 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.006017, allocations: 4 kB / 382 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.006023, allocations: 0 / 382 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.006057, allocations: 27.91 kB / 382 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.006372, allocations: 0.5489 MB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.006538, allocations: 71.08 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.006565, allocations: 27.67 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.006576, allocations: 0 / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.268e-05/0.006669, allocations: 98.72 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.00667, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001617/0.006832, allocations: 101.5 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.006854, allocations: 63.34 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.006946, allocations: 244.9 kB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.006956, allocations: 29.7 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.007008, allocations: 166.7 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.007022, allocations: 27.78 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.007054, allocations: 35.36 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.007104, allocations: 0.5 MB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.889e-05/0.007123, allocations: 11.98 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/0.007157, allocations: 58.41 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.985e-05/0.007216, allocations: 82.36 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007219, allocations: 0 / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.954e-05/0.007318, allocations: 113.7 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.007332, allocations: 8 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007337, allocations: 0 / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.007351, allocations: 7.984 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.007413, allocations: 20 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007417, allocations: 4.125 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.007452, allocations: 19.92 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.007459, allocations: 0 / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 6.144e-05/0.007521, allocations: 168.5 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.007538, allocations: 23.84 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.007647, allocations: 103 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007649, allocations: 4 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.007651, allocations: 0 / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.007654, allocations: 0 / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.132e-05/0.007736, allocations: 137.1 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.007737, allocations: 4 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.007784, allocations: 11.98 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.007787, allocations: 4 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.007795, allocations: 4 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007796, allocations: 0 / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.007798, allocations: 0 / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.007923, allocations: 148.2 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.007934, allocations: 11.91 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.00795, allocations: 4 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.55e-05/0.007975, allocations: 7.984 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.008003, allocations: 8.031 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.008016, allocations: 11.98 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.008061, allocations: 163.1 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008061, allocations: 0 / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.008209, allocations: 31.92 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007416/0.008951, allocations: 383.5 kB / 385.4 MB, free: 17.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.744e-05/0.009049, allocations: 59.58 kB / 385.5 MB, free: 17.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.00905, allocations: 0 / 385.5 MB, free: 17.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.287e-05/0.009082, allocations: 31.8 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.009265, allocations: 56.83 kB / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.009562, allocations: 262 kB / 385.8 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.314e-05/0.009586, allocations: 71.84 kB / 385.9 MB, free: 16.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.767e-05/0.009623, allocations: 21.42 kB / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.009688, allocations: 98.17 kB / 386 MB, free: 16.62 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009688, allocations: 0 / 386 MB, free: 16.62 MB / 314.7 MB Notification: Performance of Templates: time 0.003467/0.01316, allocations: 2.27 MB / 388.3 MB, free: 14.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.156644376926124]