Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.006177/0.006177, allocations: 110 kB / 21.98 MB, free: 5.184 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.00163/0.00163, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.453/1.453, allocations: 230.5 MB / 258.9 MB, free: 8.004 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.2275/0.2275, allocations: 46.93 MB / 362.3 MB, free: 4.188 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.002293/0.002293, allocations: 83.86 kB / 0.4982 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3342, allocations: 66.08 MB / 0.5628 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003344/0.3376, allocations: 1.671 MB / 0.5644 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.3388, allocations: 0.5732 MB / 0.5649 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.3388, allocations: 4 kB / 0.5649 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.3392, allocations: 99.67 kB / 0.565 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.3395, allocations: 107.6 kB / 0.5651 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.3398, allocations: 119.7 kB / 0.5653 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.34, allocations: 107.7 kB / 0.5654 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.3402, allocations: 27.64 kB / 0.5654 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.351e-05/0.3403, allocations: 43.83 kB / 0.5654 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.3404, allocations: 63.81 kB / 0.5655 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3404, allocations: 4 kB / 0.5655 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.3405, allocations: 51.91 kB / 0.5655 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.3406, allocations: 27.86 kB / 0.5656 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.3407, allocations: 51.61 kB / 0.5656 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.3409, allocations: 134.1 kB / 0.5657 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3409, allocations: 0 / 0.5657 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3409, allocations: 4 kB / 0.5658 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.3409, allocations: 3.938 kB / 0.5658 GB, free: 1.145 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005663/0.3415, allocations: 361.5 kB / 0.5661 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3415, allocations: 8.031 kB / 0.5661 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.3416, allocations: 16.84 kB / 0.5661 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.3418, allocations: 154.2 kB / 0.5663 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3418, allocations: 4.375 kB / 0.5663 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.3418, allocations: 4.375 kB / 0.5663 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.342, allocations: 78.22 kB / 0.5664 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.342, allocations: 4.141 kB / 0.5664 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.342, allocations: 7.938 kB / 0.5664 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.342, allocations: 4 kB / 0.5664 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3422, allocations: 43.91 kB / 0.5664 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.3426, allocations: 307.8 kB / 0.5667 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.3428, allocations: 70.56 kB / 0.5668 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/0.3429, allocations: 24.84 kB / 0.5668 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3429, allocations: 0 / 0.5668 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3429, allocations: 34.56 kB / 0.5668 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3429, allocations: 0 / 0.5668 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001111/0.344, allocations: 344.7 kB / 0.5672 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3441, allocations: 55.34 kB / 0.5672 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.3443, allocations: 243.5 kB / 0.5674 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3444, allocations: 29.69 kB / 0.5675 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.3444, allocations: 116 kB / 0.5676 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.3445, allocations: 47.64 kB / 0.5676 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.3445, allocations: 25.72 kB / 0.5677 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3447, allocations: 326.8 kB / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3448, allocations: 43.97 kB / 0.568 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3449, allocations: 43.97 kB / 0.568 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.3451, allocations: 108.8 kB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3451, allocations: 4 kB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002944/0.3454, allocations: 153.5 kB / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3454, allocations: 4 kB / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3454, allocations: 4 kB / 0.5683 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3455, allocations: 3.938 kB / 0.5683 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3456, allocations: 23.98 kB / 0.5683 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.3456, allocations: 3.938 kB / 0.5683 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.3456, allocations: 11.98 kB / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3456, allocations: 8 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001146/0.3458, allocations: 137.8 kB / 0.5685 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3458, allocations: 15.91 kB / 0.5685 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.3463, allocations: 195.6 kB / 0.5687 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3463, allocations: 0 / 0.5687 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.3463, allocations: 3.938 kB / 0.5687 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3463, allocations: 0 / 0.5687 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.347, allocations: 482.2 kB / 0.5692 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.347, allocations: 0 / 0.5692 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.3471, allocations: 27.92 kB / 0.5692 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3471, allocations: 0 / 0.5692 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3471, allocations: 4 kB / 0.5692 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3471, allocations: 3.984 kB / 0.5692 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3471, allocations: 3.984 kB / 0.5692 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.3475, allocations: 267.5 kB / 0.5694 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.3475, allocations: 11.91 kB / 0.5695 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3475, allocations: 4 kB / 0.5695 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.3476, allocations: 7.984 kB / 0.5695 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.3477, allocations: 7.984 kB / 0.5695 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3477, allocations: 12 kB / 0.5695 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.3479, allocations: 189.1 kB / 0.5697 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3479, allocations: 0 / 0.5697 GB, free: 12.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.3482, allocations: 23.94 kB / 0.5697 GB, free: 12.83 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001834/0.3501, allocations: 456.1 kB / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.3504, allocations: 107.9 kB / 0.5702 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3504, allocations: 0 / 0.5702 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3505, allocations: 59.89 kB / 0.5703 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.3509, allocations: 30.02 kB / 0.5703 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.3516, allocations: 357.5 kB / 0.5707 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.352, allocations: 0.7236 MB / 0.5714 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.3521, allocations: 23.44 kB / 0.5714 GB, free: 11.19 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3521, allocations: 3.938 kB / 0.5714 GB, free: 11.18 MB / 414.1 MB Notification: Performance of Templates: time 0.004481/0.3566, allocations: 2.171 MB / 0.5735 GB, free: 9.012 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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: 7.817785409046337]