Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.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.001543/0.001543, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001669/0.001669, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.479/1.479, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.232/0.232, allocations: 46.88 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 79.88 kB / 0.4968 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3092, allocations: 65.98 MB / 0.5613 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003102/0.3123, allocations: 1.752 MB / 0.563 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.314, allocations: 1.048 MB / 0.564 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.314, allocations: 0 / 0.564 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.3143, allocations: 59.75 kB / 0.5641 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.3146, allocations: 99.47 kB / 0.5642 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.3148, allocations: 75.73 kB / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.315, allocations: 107.7 kB / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.3151, allocations: 8 kB / 0.5643 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.207e-05/0.3152, allocations: 47.78 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.216e-05/0.3152, allocations: 35.78 kB / 0.5644 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3152, allocations: 4 kB / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.112e-05/0.3153, allocations: 39.98 kB / 0.5645 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.3154, allocations: 27.91 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.3155, allocations: 47.61 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.3157, allocations: 142 kB / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3157, allocations: 0 / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3157, allocations: 0 / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3157, allocations: 0 / 0.5647 GB, free: 1.5 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.0006132/0.3163, allocations: 458.4 kB / 0.5651 GB, free: 1.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.3163, allocations: 8.031 kB / 0.5651 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.3164, allocations: 20.78 kB / 0.5651 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.3167, allocations: 221.1 kB / 0.5653 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3167, allocations: 4.375 kB / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.3167, allocations: 4.375 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.3169, allocations: 57.92 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3169, allocations: 4 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3169, allocations: 8 kB / 0.5654 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3169, allocations: 3.938 kB / 0.5654 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.351e-05/0.317, allocations: 19.98 kB / 0.5654 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.3174, allocations: 296.8 kB / 0.5657 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3175, allocations: 54.62 kB / 0.5658 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.3176, allocations: 24.84 kB / 0.5658 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3176, allocations: 0 / 0.5658 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.3177, allocations: 67.39 kB / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3177, allocations: 0 / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005586/0.3183, allocations: 193.2 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3184, allocations: 55.41 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.3186, allocations: 274.8 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3187, allocations: 25.7 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.3187, allocations: 112.1 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.3188, allocations: 27.78 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.3188, allocations: 21.72 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.319, allocations: 334.8 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.319, allocations: 20 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.3191, allocations: 37.64 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3192, allocations: 61.7 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3192, allocations: 0 / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.3194, allocations: 109.5 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3194, allocations: 8 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3194, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3195, allocations: 3.984 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/0.3195, allocations: 12 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3196, allocations: 8.031 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.3196, allocations: 0 / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3196, allocations: 11.94 kB / 0.5671 GB, free: 14.74 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.0001264/0.3197, allocations: 137.7 kB / 0.5673 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.3198, allocations: 23.89 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.32, allocations: 115.2 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.32, allocations: 4 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.32, allocations: 0 / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.32, allocations: 4 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.3205, allocations: 407.2 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3205, allocations: 0 / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.3205, allocations: 8.188 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.3205, allocations: 4 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3206, allocations: 3.938 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.3206, allocations: 7.875 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3206, allocations: 3.984 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3208, allocations: 208.7 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.3209, allocations: 89.02 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.3209, allocations: 4 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.321, allocations: 11.94 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.321, allocations: 7.984 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.321, allocations: 4 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.3212, allocations: 208.6 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3212, allocations: 0 / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3215, allocations: 27.94 kB / 0.5683 GB, free: 13.38 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 (8): * Single equations (assignments): 6 * 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.001682/0.3232, allocations: 459.8 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.3234, allocations: 51.97 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3234, allocations: 4 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.257e-05/0.3234, allocations: 27.92 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3238, allocations: 27.67 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.3243, allocations: 315.4 kB / 0.5692 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3247, allocations: 0.7276 MB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.481e-05/0.3247, allocations: 12.88 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.3248, allocations: 15.44 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3248, allocations: 0 / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of Templates: time 0.00506/0.3298, allocations: 1.8 MB / 0.5717 GB, free: 10.08 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.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.069272666238248]