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.001414/0.001414, 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.001622/0.001622, 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.478/1.478, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2475/0.2475, allocations: 46.89 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 179] 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.002366/0.002366, allocations: 79.88 kB / 0.4968 GB, free: 8.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3161, allocations: 65.96 MB / 0.5613 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002619/0.3187, allocations: 1.762 MB / 0.563 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3201, allocations: 1.045 MB / 0.564 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.3201, allocations: 7.156 kB / 0.564 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3204, allocations: 46.55 kB / 0.5641 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.3207, allocations: 111 kB / 0.5642 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.3209, allocations: 76 kB / 0.5642 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.321, allocations: 106 kB / 0.5643 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.3211, allocations: 6.594 kB / 0.5643 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.3212, allocations: 44.86 kB / 0.5644 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.3213, allocations: 35.89 kB / 0.5644 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.3213, allocations: 5.688 kB / 0.5644 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.3214, allocations: 43.16 kB / 0.5645 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.035e-05/0.3214, allocations: 28.75 kB / 0.5645 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.3215, allocations: 46.95 kB / 0.5645 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3217, allocations: 138.2 kB / 0.5647 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3217, allocations: 3.188 kB / 0.5647 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3217, allocations: 0 / 0.5647 GB, free: 32.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3217, allocations: 3.281 kB / 0.5647 GB, free: 32.23 MB / 446.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.0004591/0.3221, allocations: 451 kB / 0.5651 GB, free: 31.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.3222, allocations: 11.81 kB / 0.5651 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.3222, allocations: 15.09 kB / 0.5651 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.3224, allocations: 221.3 kB / 0.5653 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.3224, allocations: 8.312 kB / 0.5653 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3225, allocations: 3.969 kB / 0.5654 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3226, allocations: 57.98 kB / 0.5654 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3226, allocations: 0 / 0.5654 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3226, allocations: 2.938 kB / 0.5654 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3226, allocations: 0.6875 kB / 0.5654 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.016e-05/0.3227, allocations: 17.34 kB / 0.5654 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.323, allocations: 306.8 kB / 0.5657 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3232, allocations: 51.14 kB / 0.5658 GB, free: 31.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.3232, allocations: 21.66 kB / 0.5658 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3232, allocations: 0.75 kB / 0.5658 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.3234, allocations: 70.22 kB / 0.5659 GB, free: 31.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3234, allocations: 1.031 kB / 0.5659 GB, free: 31.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000523/0.3239, allocations: 186.8 kB / 0.566 GB, free: 31.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.3239, allocations: 56.28 kB / 0.5661 GB, free: 30.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3241, allocations: 272 kB / 0.5663 GB, free: 30.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.3241, allocations: 29.36 kB / 0.5664 GB, free: 30.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.3241, allocations: 112.8 kB / 0.5665 GB, free: 30.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3242, allocations: 30.16 kB / 0.5665 GB, free: 30.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.3242, allocations: 23.72 kB / 0.5665 GB, free: 30.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.099e-05/0.3243, allocations: 331.6 kB / 0.5669 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.3243, allocations: 23.25 kB / 0.5669 GB, free: 30.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/0.3244, allocations: 39.53 kB / 0.5669 GB, free: 30.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.414e-05/0.3245, allocations: 68.3 kB / 0.567 GB, free: 30.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3245, allocations: 0 / 0.567 GB, free: 30.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001544/0.3246, allocations: 102.5 kB / 0.5671 GB, free: 30.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3246, allocations: 6.656 kB / 0.5671 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3246, allocations: 0 / 0.5671 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3246, allocations: 2.938 kB / 0.5671 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.3247, allocations: 22.61 kB / 0.5671 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3247, allocations: 0 / 0.5671 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.3248, allocations: 7.688 kB / 0.5671 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.3248, allocations: 3.719 kB / 0.5671 GB, free: 30.14 MB / 446.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 8.003e-05/0.3249, allocations: 142.7 kB / 0.5673 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.3249, allocations: 19.95 kB / 0.5673 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.3251, allocations: 117 kB / 0.5674 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.3251, allocations: 6.938 kB / 0.5674 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3251, allocations: 0 / 0.5674 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3251, allocations: 0 / 0.5674 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.3254, allocations: 406.1 kB / 0.5678 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3254, allocations: 0 / 0.5678 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.3255, allocations: 10.66 kB / 0.5678 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3255, allocations: 3.984 kB / 0.5678 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3255, allocations: 7.625 kB / 0.5678 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.3255, allocations: 4.453 kB / 0.5678 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3255, allocations: 0 / 0.5678 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.3257, allocations: 215.9 kB / 0.568 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.3257, allocations: 89.11 kB / 0.5681 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3257, allocations: 4.797 kB / 0.5681 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.3258, allocations: 7.797 kB / 0.5681 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3258, allocations: 5.391 kB / 0.5681 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3259, allocations: 3.797 kB / 0.5681 GB, free: 29.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.326, allocations: 211.1 kB / 0.5683 GB, free: 29.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.326, allocations: 0 / 0.5683 GB, free: 29.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.3262, allocations: 24.67 kB / 0.5683 GB, free: 29.17 MB / 446.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.001588/0.3278, allocations: 453.2 kB / 0.5688 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.328, allocations: 55.2 kB / 0.5688 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.328, allocations: 0 / 0.5688 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.326e-05/0.3281, allocations: 26.72 kB / 0.5688 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3284, allocations: 31.91 kB / 0.5689 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.3289, allocations: 313.8 kB / 0.5692 GB, free: 28.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.329, allocations: 0.727 MB / 0.5699 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.3291, allocations: 21.19 kB / 0.5699 GB, free: 28.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.3291, allocations: 21.72 kB / 0.5699 GB, free: 28.01 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3291, allocations: 0 / 0.5699 GB, free: 28.01 MB / 446.1 MB Notification: Performance of Templates: time 0.004441/0.3335, allocations: 1.794 MB / 0.5717 GB, free: 27.81 MB / 446.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 cvode -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.165305893402547]