Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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.001551/0.001551, allocations: 113.1 kB / 21.85 MB, free: 80 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.001784/0.001784, allocations: 209.6 kB / 25.13 MB, free: 3.605 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.467/1.467, allocations: 230.4 MB / 258.7 MB, free: 8.043 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.2257/0.2257, allocations: 46.93 MB / 362 MB, free: 4.309 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26") [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.002395/0.002395, allocations: 79.88 kB / 0.4979 GB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3363, allocations: 66.09 MB / 0.5624 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003232/0.3395, allocations: 1.741 MB / 0.5641 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.3413, allocations: 1.053 MB / 0.5651 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.3414, allocations: 0 / 0.5651 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.3417, allocations: 39.78 kB / 0.5652 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.342, allocations: 107.5 kB / 0.5653 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.3422, allocations: 79.72 kB / 0.5653 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.3424, allocations: 99.7 kB / 0.5654 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.3424, allocations: 7.984 kB / 0.5654 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.953e-05/0.3425, allocations: 51.72 kB / 0.5655 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.3426, allocations: 31.84 kB / 0.5655 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3426, allocations: 8 kB / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.882e-05/0.3427, allocations: 47.91 kB / 0.5656 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.3428, allocations: 19.92 kB / 0.5656 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.3429, allocations: 35.75 kB / 0.5656 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3431, allocations: 130 kB / 0.5658 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3431, allocations: 0 / 0.5658 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3431, allocations: 0 / 0.5658 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3431, allocations: 0 / 0.5658 GB, free: 0.7852 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.0005485/0.3436, allocations: 349.5 kB / 0.5661 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3437, allocations: 12.03 kB / 0.5661 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.3437, allocations: 12.88 kB / 0.5661 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.344, allocations: 170.2 kB / 0.5663 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.344, allocations: 4.312 kB / 0.5663 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.344, allocations: 384 / 0.5663 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3442, allocations: 61.98 kB / 0.5663 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3442, allocations: 0 / 0.5663 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.3442, allocations: 0 / 0.5663 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.3442, allocations: 0 / 0.5663 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.3443, allocations: 19.98 kB / 0.5664 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.3446, allocations: 271.8 kB / 0.5666 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3448, allocations: 54.67 kB / 0.5667 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.3449, allocations: 16.86 kB / 0.5667 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3449, allocations: 3.984 kB / 0.5667 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.345, allocations: 71.33 kB / 0.5668 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.345, allocations: 0 / 0.5668 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005223/0.3456, allocations: 181.3 kB / 0.5669 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3456, allocations: 59.33 kB / 0.567 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.3458, allocations: 214.2 kB / 0.5672 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3459, allocations: 25.7 kB / 0.5672 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.3459, allocations: 112.1 kB / 0.5673 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.346, allocations: 19.86 kB / 0.5673 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.346, allocations: 25.7 kB / 0.5674 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3462, allocations: 330.8 kB / 0.5677 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.3462, allocations: 19.98 kB / 0.5677 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.3463, allocations: 29.72 kB / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3464, allocations: 69.64 kB / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3464, allocations: 0 / 0.5678 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.3466, allocations: 101.6 kB / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3466, allocations: 8 kB / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3466, allocations: 384 / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3466, allocations: 0 / 0.5679 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.3467, allocations: 15.94 kB / 0.5679 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3467, allocations: 8 kB / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.3468, allocations: 7.984 kB / 0.5679 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3468, allocations: 4.031 kB / 0.5679 GB, free: 14.35 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.0001137/0.3469, allocations: 129.8 kB / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.3469, allocations: 19.89 kB / 0.5681 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.3472, allocations: 115.1 kB / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3472, allocations: 7.938 kB / 0.5682 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3472, allocations: 3.984 kB / 0.5682 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3472, allocations: 0 / 0.5682 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.3477, allocations: 374.3 kB / 0.5686 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3477, allocations: 3.984 kB / 0.5686 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.3477, allocations: 8 kB / 0.5686 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3477, allocations: 4 kB / 0.5686 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3477, allocations: 4.172 kB / 0.5686 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3477, allocations: 3.938 kB / 0.5686 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3477, allocations: 3.938 kB / 0.5686 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.348, allocations: 212.3 kB / 0.5688 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.348, allocations: 7.953 kB / 0.5688 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.348, allocations: 4 kB / 0.5688 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.3481, allocations: 7.938 kB / 0.5688 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.3481, allocations: 7.984 kB / 0.5688 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3481, allocations: 0 / 0.5688 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.3483, allocations: 160.3 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3483, allocations: 0 / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.3485, allocations: 19.98 kB / 0.569 GB, free: 13.18 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.001624/0.3502, allocations: 461.4 kB / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.3504, allocations: 55.91 kB / 0.5695 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3504, allocations: 4.062 kB / 0.5695 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.3504, allocations: 27.98 kB / 0.5695 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3508, allocations: 31.84 kB / 0.5695 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.3513, allocations: 242.7 kB / 0.5698 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3516, allocations: 0.708 MB / 0.5705 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.187e-05/0.3516, allocations: 21.27 kB / 0.5705 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.3517, allocations: 15.44 kB / 0.5705 GB, free: 11.74 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3517, allocations: 0 / 0.5705 GB, free: 11.74 MB / 414.1 MB Notification: Performance of Templates: time 0.004914/0.3566, allocations: 1.774 MB / 0.5722 GB, free: 9.977 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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.977874381933361]