Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.001824/0.001824, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002699/0.002699, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.493/1.493, 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.2245/0.2245, allocations: 46.91 MB / 361.1 MB, free: 4.625 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4") [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.002303/0.002303, allocations: 75.88 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.31, allocations: 65.98 MB / 0.5613 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003351/0.3134, allocations: 1.767 MB / 0.563 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.3152, allocations: 1.049 MB / 0.564 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.3152, allocations: 0 / 0.564 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.3156, allocations: 95.62 kB / 0.5641 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.3159, allocations: 111.6 kB / 0.5642 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.3161, allocations: 79.67 kB / 0.5643 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3163, allocations: 119.7 kB / 0.5644 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3164, allocations: 19.95 kB / 0.5645 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.3165, allocations: 51.78 kB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.3166, allocations: 63.73 kB / 0.5646 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3167, allocations: 7.938 kB / 0.5646 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3168, allocations: 67.91 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.3169, allocations: 27.92 kB / 0.5647 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.3169, allocations: 31.75 kB / 0.5647 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.3172, allocations: 138.2 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3172, allocations: 3.984 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3172, allocations: 0 / 0.5648 GB, free: 1.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3172, allocations: 0 / 0.5648 GB, free: 1.332 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006617/0.3178, allocations: 458.4 kB / 0.5653 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3179, allocations: 8.031 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.3179, allocations: 12.84 kB / 0.5653 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.3182, allocations: 216.1 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3182, allocations: 4.375 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.3183, allocations: 4.375 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.3184, allocations: 69.95 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3185, allocations: 0 / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3185, allocations: 0 / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3185, allocations: 0 / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.3186, allocations: 31.91 kB / 0.5656 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.319, allocations: 304.8 kB / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.3192, allocations: 58.55 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.3193, allocations: 16.98 kB / 0.566 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.3193, allocations: 3.984 kB / 0.566 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.3195, allocations: 71.33 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3195, allocations: 4 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007695/0.3203, allocations: 253.2 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.3203, allocations: 59.39 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3206, allocations: 219.4 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3206, allocations: 25.7 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.3207, allocations: 108.1 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.3207, allocations: 35.73 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.3208, allocations: 29.7 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3209, allocations: 330.8 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.366e-05/0.321, allocations: 27.98 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.3211, allocations: 45.7 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3212, allocations: 81.69 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3212, allocations: 4 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002338/0.3215, allocations: 133.5 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3215, allocations: 4 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3215, allocations: 3.984 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3215, allocations: 0 / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.3216, allocations: 20 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3216, allocations: 0 / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.3216, allocations: 19.86 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3216, allocations: 4 kB / 0.5674 GB, free: 14.48 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 (13): * Single equations (assignments): 13 * 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.0001239/0.3218, allocations: 129.8 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.3218, allocations: 15.91 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.3221, allocations: 143 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3221, allocations: 7.938 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3221, allocations: 0 / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3221, allocations: 3.938 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005745/0.3227, allocations: 448.1 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3227, allocations: 4.031 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.3227, allocations: 19.98 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3228, allocations: 3.938 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3228, allocations: 4 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3228, allocations: 3.938 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3228, allocations: 0 / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.3231, allocations: 233.1 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.3232, allocations: 92.95 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.3232, allocations: 4 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.3233, allocations: 8 kB / 0.5684 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.3233, allocations: 11.92 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.3233, allocations: 8 kB / 0.5685 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.3235, allocations: 173.1 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3235, allocations: 0 / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.3238, allocations: 35.94 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001924/0.3257, allocations: 0.4935 MB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3259, allocations: 79.84 kB / 0.5692 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3259, allocations: 0 / 0.5692 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.326, allocations: 35.92 kB / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3264, allocations: 46.3 kB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.3269, allocations: 288.4 kB / 0.5696 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.3273, allocations: 0.7165 MB / 0.5703 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.24e-05/0.3274, allocations: 24.62 kB / 0.5703 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.3274, allocations: 19.42 kB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3274, allocations: 0 / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of Templates: time 0.005522/0.3329, allocations: 2.031 MB / 0.5723 GB, free: 9.453 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.996527452021837]