Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.001531/0.001531, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001731/0.001731, allocations: 219.8 kB / 25.13 MB, free: 3.609 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.447/1.447, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2338/0.2338, allocations: 46.93 MB / 362 MB, free: 4.238 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12") [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.002258/0.002258, allocations: 71.88 kB / 0.4978 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3138, allocations: 66.07 MB / 0.5624 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003425/0.3172, allocations: 1.956 MB / 0.5643 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3192, allocations: 1.084 MB / 0.5653 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.3193, allocations: 7.938 kB / 0.5654 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.3196, allocations: 47.69 kB / 0.5654 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.3199, allocations: 99.5 kB / 0.5655 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.3202, allocations: 103.6 kB / 0.5656 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.3204, allocations: 143.5 kB / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3206, allocations: 29.38 kB / 0.5658 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3207, allocations: 59.72 kB / 0.5658 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.3208, allocations: 59.64 kB / 0.5659 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.3208, allocations: 4 kB / 0.5659 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3209, allocations: 47.98 kB / 0.5659 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.321, allocations: 23.92 kB / 0.5659 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.3211, allocations: 59.61 kB / 0.566 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.3213, allocations: 154.1 kB / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3213, allocations: 0 / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3213, allocations: 0 / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3214, allocations: 0 / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006823/0.322, allocations: 415 kB / 0.5665 GB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3221, allocations: 12.03 kB / 0.5666 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.3221, allocations: 16.84 kB / 0.5666 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.3224, allocations: 182.9 kB / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3224, allocations: 4.375 kB / 0.5667 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.3225, allocations: 8.375 kB / 0.5668 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.3227, allocations: 130.2 kB / 0.5669 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3227, allocations: 4 kB / 0.5669 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3228, allocations: 4 kB / 0.5669 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3228, allocations: 4 kB / 0.5669 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.3229, allocations: 47.91 kB / 0.5669 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.3235, allocations: 488 kB / 0.5674 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.3239, allocations: 86.66 kB / 0.5675 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.324, allocations: 36.83 kB / 0.5675 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.324, allocations: 4 kB / 0.5675 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.3242, allocations: 113 kB / 0.5676 GB, free: 14.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3242, allocations: 4 kB / 0.5676 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004399/0.3246, allocations: 145.5 kB / 0.5678 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3247, allocations: 51.41 kB / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.3249, allocations: 207 kB / 0.568 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3249, allocations: 25.7 kB / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.325, allocations: 120.1 kB / 0.5682 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.325, allocations: 27.75 kB / 0.5682 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.3251, allocations: 33.7 kB / 0.5682 GB, free: 14.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3252, allocations: 326.8 kB / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-05/0.3253, allocations: 23.98 kB / 0.5686 GB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3254, allocations: 71.64 kB / 0.5686 GB, free: 13.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.3256, allocations: 100.1 kB / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3256, allocations: 0 / 0.5687 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002831/0.3259, allocations: 137.8 kB / 0.5688 GB, free: 13.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3259, allocations: 8.125 kB / 0.5689 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3259, allocations: 4 kB / 0.5689 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3259, allocations: 0 / 0.5689 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.326, allocations: 28.08 kB / 0.5689 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.326, allocations: 3.938 kB / 0.5689 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.3261, allocations: 23.83 kB / 0.5689 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3261, allocations: 4 kB / 0.5689 GB, free: 13.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001114/0.3262, allocations: 129.8 kB / 0.569 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.3263, allocations: 15.91 kB / 0.5691 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.3266, allocations: 127 kB / 0.5692 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3266, allocations: 4 kB / 0.5692 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.3266, allocations: 0 / 0.5692 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3266, allocations: 3.938 kB / 0.5692 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.3268, allocations: 180.7 kB / 0.5694 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3268, allocations: 0 / 0.5694 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.3268, allocations: 15.98 kB / 0.5694 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3269, allocations: 0 / 0.5694 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3269, allocations: 3.938 kB / 0.5694 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3269, allocations: 8 kB / 0.5694 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3269, allocations: 0 / 0.5694 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.3273, allocations: 188.8 kB / 0.5696 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.3273, allocations: 15.92 kB / 0.5696 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3273, allocations: 0 / 0.5696 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.3274, allocations: 11.98 kB / 0.5696 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3274, allocations: 15.98 kB / 0.5696 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.3274, allocations: 4 kB / 0.5696 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.3276, allocations: 143.2 kB / 0.5697 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3276, allocations: 0 / 0.5697 GB, free: 12.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.3278, allocations: 31.92 kB / 0.5698 GB, free: 12.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.001445/0.3292, allocations: 402.1 kB / 0.5702 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.3295, allocations: 79.97 kB / 0.5702 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3295, allocations: 0 / 0.5702 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3296, allocations: 35.97 kB / 0.5703 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.3299, allocations: 31.73 kB / 0.5703 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.3305, allocations: 279.3 kB / 0.5706 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.3308, allocations: 0.7279 MB / 0.5713 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.3309, allocations: 17.41 kB / 0.5713 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.3309, allocations: 19.44 kB / 0.5713 GB, free: 10.83 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3309, allocations: 0 / 0.5713 GB, free: 10.83 MB / 414.1 MB Notification: Performance of Templates: time 0.005318/0.3363, allocations: 1.946 MB / 0.5732 GB, free: 8.895 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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: 4.9229534598998725]