Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.002715/0.002715, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.00334/0.00334, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 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.579/1.579, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3614/0.3614, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.571e-05, allocations: 2.312 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003182/0.003207, allocations: 1.735 MB / 379 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.005125, allocations: 0.9993 MB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.005188, allocations: 8 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.005485, allocations: 43.64 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.00582, allocations: 95.53 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.006043, allocations: 79.66 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.006248, allocations: 111.6 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.006335, allocations: 11.98 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.00645, allocations: 47.91 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.006534, allocations: 31.83 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.006556, allocations: 8 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.006659, allocations: 51.86 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.006718, allocations: 19.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.006776, allocations: 19.92 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.007009, allocations: 119.5 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.007015, allocations: 4 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.007016, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.00702, allocations: 0 / 380.7 MB, free: 15.43 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.000645/0.007665, allocations: 451.5 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.007699, allocations: 8.031 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.007766, allocations: 20.84 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.008015, allocations: 160.8 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.008028, allocations: 384 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.008045, allocations: 384 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.008188, allocations: 58.23 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.008199, allocations: 192 / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.008208, allocations: 384 / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.008214, allocations: 3.938 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.008287, allocations: 15.98 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.008731, allocations: 303.8 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.008909, allocations: 59.17 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.408e-05/0.008973, allocations: 27.67 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.008988, allocations: 0 / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.009146, allocations: 80.92 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.009147, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005767/0.009723, allocations: 181.5 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.009769, allocations: 51.41 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.01002, allocations: 257.8 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.01005, allocations: 29.7 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01016, allocations: 154.9 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.0102, allocations: 27.81 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.01026, allocations: 35.36 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002758/0.01053, allocations: 0.5001 MB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.0106, allocations: 23.98 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.751e-05/0.01068, allocations: 39.5 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.01081, allocations: 71.3 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01081, allocations: 0 / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000209/0.01102, allocations: 105.5 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.01103, allocations: 8 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.01104, allocations: 4.031 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.01105, allocations: 3.984 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.01114, allocations: 15.94 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.01115, allocations: 4.156 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.01119, allocations: 3.984 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.01121, allocations: 4 kB / 383.3 MB, free: 12.54 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 0.0001338/0.01134, allocations: 168.5 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.01137, allocations: 19.84 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.01164, allocations: 119 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.01165, allocations: 4 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01165, allocations: 4 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01165, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.0122, allocations: 424.9 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.0122, allocations: 0 / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.01224, allocations: 8 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.01224, allocations: 4 kB / 384.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.01225, allocations: 0 / 384.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01225, allocations: 0 / 384.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.01226, allocations: 11.92 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.01259, allocations: 267.4 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.01261, allocations: 15.94 kB / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.01264, allocations: 8 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.0127, allocations: 0 / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.01274, allocations: 7.984 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.01276, allocations: 7.938 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.01293, allocations: 188.2 kB / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01293, allocations: 0 / 384.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002598/0.01319, allocations: 24 kB / 384.6 MB, free: 11.2 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.003347/0.01654, allocations: 483.9 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.01675, allocations: 75.53 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01675, allocations: 0 / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.01684, allocations: 39.61 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.01722, allocations: 39.45 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.01774, allocations: 242 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.01785, allocations: 92.8 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.107e-05/0.0179, allocations: 13.28 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.01795, allocations: 20.48 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01795, allocations: 0 / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of Templates: time 0.005618/0.02357, allocations: 1.861 MB / 387.4 MB, free: 8.477 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.014015304972418]