Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001611/0.001611, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002338/0.002338, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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.581/1.581, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.1 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.2534/0.2534, allocations: 46.95 MB / 361.6 MB, free: 3.887 MB / 286.1 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 79.86 kB / 0.4974 GB, free: 6.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3018, allocations: 66.08 MB / 0.562 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003271/0.3051, allocations: 1.716 MB / 0.5636 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3068, allocations: 0.9671 MB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.3069, allocations: 8 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.3072, allocations: 43.75 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.3075, allocations: 99.53 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.3077, allocations: 75.69 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.3079, allocations: 111.7 kB / 0.5649 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.308, allocations: 4 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.3081, allocations: 43.78 kB / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.3082, allocations: 35.78 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.3082, allocations: 8 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.3083, allocations: 43.92 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.3084, allocations: 23.92 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.3084, allocations: 27.8 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.3087, allocations: 125.8 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3087, allocations: 0 / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3087, allocations: 0 / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.3087, allocations: 0 / 0.5652 GB, free: 0.5859 MB / 398.1 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.0005549/0.3092, allocations: 353.5 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3093, allocations: 12.03 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.3093, allocations: 12.89 kB / 0.5656 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3096, allocations: 162.2 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3096, allocations: 384 / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3096, allocations: 4.375 kB / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3098, allocations: 57.98 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3098, allocations: 3.984 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3098, allocations: 0 / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3098, allocations: 4 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.3099, allocations: 23.98 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.3102, allocations: 236.5 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.3104, allocations: 66.61 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.3105, allocations: 20.86 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.3105, allocations: 0 / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.3106, allocations: 79.25 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3106, allocations: 0 / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005597/0.3112, allocations: 177.4 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.3112, allocations: 55.34 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.3115, allocations: 222.1 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3115, allocations: 29.7 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.3115, allocations: 112.1 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.3116, allocations: 23.84 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.3116, allocations: 25.66 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3118, allocations: 326.8 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.3118, allocations: 23.98 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.3119, allocations: 33.7 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.312, allocations: 65.64 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.312, allocations: 0 / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002114/0.3123, allocations: 117.5 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3123, allocations: 4 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3123, allocations: 0 / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3123, allocations: 4 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3124, allocations: 15.94 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3124, allocations: 160 / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.3125, allocations: 7.984 kB / 0.5674 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3125, allocations: 0 / 0.5674 GB, free: 14.16 MB / 414.1 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.0001154/0.3126, allocations: 129.8 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.3126, allocations: 23.92 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.3129, allocations: 123 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3129, allocations: 0 / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3129, allocations: 0 / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3129, allocations: 0 / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.3133, allocations: 354.9 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3133, allocations: 0 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.3134, allocations: 12 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3134, allocations: 384 / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3134, allocations: 4 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3134, allocations: 8.031 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3134, allocations: 4 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.3137, allocations: 224.4 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.3137, allocations: 11.89 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.3137, allocations: 4 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.3138, allocations: 4 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.3138, allocations: 11.86 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3139, allocations: 4 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.314, allocations: 163.2 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.314, allocations: 0 / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3143, allocations: 28 kB / 0.5685 GB, free: 13 MB / 414.1 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.001875/0.3162, allocations: 473.8 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.3164, allocations: 67.91 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3164, allocations: 0 / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/0.3165, allocations: 27.92 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3168, allocations: 30.23 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.3173, allocations: 276.6 kB / 0.5693 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.899e-05/0.3174, allocations: 96.69 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.3175, allocations: 19.5 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3175, allocations: 4 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Templates: time 0.004138/0.3216, allocations: 2.014 MB / 0.5714 GB, free: 10.13 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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: 8.117743353825063]