Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.002022/0.002022, 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.00187/0.00187, 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.473/1.473, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.223/0.223, allocations: 46.88 MB / 361.1 MB, free: 4.66 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81") [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.00242/0.00242, allocations: 79.88 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3328, allocations: 65.99 MB / 0.5613 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003407/0.3362, allocations: 1.841 MB / 0.5631 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.339, allocations: 1.797 MB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.3391, allocations: 0 / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.3394, allocations: 59.62 kB / 0.5649 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.3398, allocations: 135.4 kB / 0.565 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.34, allocations: 115.6 kB / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.3403, allocations: 203.4 kB / 0.5653 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.3403, allocations: 5.688 kB / 0.5653 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.3405, allocations: 91.61 kB / 0.5654 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.3407, allocations: 87.61 kB / 0.5655 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.3407, allocations: 8 kB / 0.5655 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.3409, allocations: 119.9 kB / 0.5656 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.341, allocations: 35.84 kB / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.3411, allocations: 67.53 kB / 0.5657 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.3414, allocations: 225.8 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3415, allocations: 4 kB / 0.5659 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3415, allocations: 0 / 0.5659 GB, free: 240 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.3415, allocations: 0 / 0.5659 GB, free: 240 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007347/0.3422, allocations: 0.4941 MB / 0.5664 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3422, allocations: 8.031 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.3423, allocations: 20.83 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.3427, allocations: 252 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3427, allocations: 4.359 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.3427, allocations: 8.375 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.3429, allocations: 105.3 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3429, allocations: 0 / 0.5668 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.343, allocations: 7.984 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.343, allocations: 3.938 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3431, allocations: 23.98 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.3433, allocations: 222.5 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.3436, allocations: 97.17 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/0.3437, allocations: 41.7 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3437, allocations: 4 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.3439, allocations: 112.9 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.3439, allocations: 0 / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004609/0.3444, allocations: 169.4 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.3445, allocations: 132.5 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.3448, allocations: 241 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3448, allocations: 25.7 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.3449, allocations: 116.1 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.3449, allocations: 35.73 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.345, allocations: 29.66 kB / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3451, allocations: 330.8 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.3452, allocations: 31.98 kB / 0.5683 GB, free: 13.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3453, allocations: 73.12 kB / 0.5684 GB, free: 13.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.3455, allocations: 87.86 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3455, allocations: 4.031 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003546/0.3459, allocations: 145.4 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3459, allocations: 4 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3459, allocations: 7.984 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3459, allocations: 0 / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.346, allocations: 16 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.346, allocations: 4 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.848e-05/0.3461, allocations: 15.88 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3461, allocations: 8.062 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001319/0.3463, allocations: 141.8 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.3463, allocations: 19.84 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.3466, allocations: 146.6 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3467, allocations: 0 / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3467, allocations: 4 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3467, allocations: 0 / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.3469, allocations: 225.5 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3469, allocations: 4 kB / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.3469, allocations: 15.88 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3469, allocations: 0 / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3469, allocations: 4 kB / 0.5692 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3469, allocations: 0 / 0.5692 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3469, allocations: 0 / 0.5692 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.3473, allocations: 174 kB / 0.5694 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.3473, allocations: 101 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.3474, allocations: 4 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.3475, allocations: 7.984 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.3475, allocations: 7.984 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.3475, allocations: 12 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.3477, allocations: 173.6 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3477, allocations: 0 / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.348, allocations: 59.8 kB / 0.5697 GB, free: 11.91 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001824/0.3498, allocations: 0.4986 MB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.3501, allocations: 71.91 kB / 0.5703 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3501, allocations: 4 kB / 0.5703 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3502, allocations: 35.92 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3506, allocations: 61.55 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.3513, allocations: 295.7 kB / 0.5707 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.3517, allocations: 0.7203 MB / 0.5714 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.706e-05/0.3518, allocations: 42 kB / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.3519, allocations: 27.42 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3519, allocations: 7.938 kB / 0.5714 GB, free: 10.28 MB / 414.1 MB Notification: Performance of Templates: time 0.007308/0.3592, allocations: 3.153 MB / 0.5745 GB, free: 7.145 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.114043863024563]