Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001227/0.001227, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.00114/0.00114, allocations: 163.4 kB / 25.61 MB, free: 8.582 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 1.097/1.097, allocations: 177 MB / 205.9 MB, free: 4.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.1632/0.1632, allocations: 34.88 MB / 297.4 MB, free: 13.44 MB / 282.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.872e-05/4.115e-05, allocations: 2.312 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004216/0.004258, allocations: 1.705 MB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.00618, allocations: 0.983 MB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.006317, allocations: 7.875 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004121/0.006729, allocations: 51.81 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.007144, allocations: 99.53 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.007431, allocations: 75.61 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.007631, allocations: 107.6 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.869e-05/0.00769, allocations: 4.234 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.007808, allocations: 47.84 kB / 383.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.418e-05/0.007902, allocations: 31.84 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.007926, allocations: 8 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.008026, allocations: 35.92 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.00809, allocations: 23.92 kB / 383.3 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.008133, allocations: 19.88 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.008369, allocations: 107.6 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.008373, allocations: 0 / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.008374, allocations: 0 / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.008381, allocations: 0 / 383.4 MB, free: 19.36 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000526/0.008907, allocations: 471.7 kB / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.008953, allocations: 11.97 kB / 383.9 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.009005, allocations: 16.84 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.009202, allocations: 165.3 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.009224, allocations: 384 / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.009236, allocations: 4.375 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.009368, allocations: 58.94 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.009377, allocations: 192 / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.009386, allocations: 384 / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.009394, allocations: 7.875 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.248e-05/0.009426, allocations: 7.984 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.009578, allocations: 113.3 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.009691, allocations: 51.09 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.009719, allocations: 19.67 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.009734, allocations: 0 / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.00985, allocations: 64.98 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.009852, allocations: 0 / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002184/0.01007, allocations: 85.58 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.01011, allocations: 51.41 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01029, allocations: 273.4 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.01031, allocations: 29.7 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.01038, allocations: 170.8 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.01043, allocations: 11.91 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.01048, allocations: 31.36 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.01057, allocations: 0.5001 MB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.01061, allocations: 4 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.091e-05/0.01065, allocations: 39.27 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.01071, allocations: 31.38 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01071, allocations: 0 / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001251/0.01084, allocations: 77.84 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.01086, allocations: 8.031 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.01087, allocations: 0 / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.01088, allocations: 4 kB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.01098, allocations: 11.98 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.01099, allocations: 3.938 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.01105, allocations: 4 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.01106, allocations: 7.938 kB / 385.7 MB, free: 16.84 MB / 314.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 (7): * Single equations (assignments): 7 * 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.574e-05/0.01114, allocations: 160.5 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.01117, allocations: 19.89 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.01133, allocations: 82.81 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01134, allocations: 4 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01134, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.01134, allocations: 7.938 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.01147, allocations: 121.2 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01147, allocations: 3.984 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.01151, allocations: 4 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01151, allocations: 0 / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.01152, allocations: 8 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01153, allocations: 0 / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01153, allocations: 0 / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.01167, allocations: 124.2 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.01169, allocations: 23.84 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.01172, allocations: 0 / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.956e-05/0.01175, allocations: 0 / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.01179, allocations: 7.984 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.01181, allocations: 0 / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.01189, allocations: 188.5 kB / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01189, allocations: 0 / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.01217, allocations: 12 kB / 386.4 MB, free: 16.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001274/0.01344, allocations: 385.7 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.01356, allocations: 39.59 kB / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01356, allocations: 0 / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.264e-05/0.01359, allocations: 23.69 kB / 386.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.01383, allocations: 42.52 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.01431, allocations: 232.5 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.726e-05/0.01436, allocations: 83.12 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.952e-05/0.01441, allocations: 24.39 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.01448, allocations: 82.19 kB / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 1.343e-06/0.01448, allocations: 0 / 387.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.005301/0.01979, allocations: 1.83 MB / 389.2 MB, free: 13.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.6794319567270577]