Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 230.2 MB / 250.8 MB, free: 8.762 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2255/0.2255, allocations: 46.89 MB / 351.8 MB, free: 7.293 MB / 286.1 MB 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.002208/0.002208, allocations: 88.08 kB / 496.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3307, allocations: 65.96 MB / 0.5493 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003172/0.3338, allocations: 1.639 MB / 0.5509 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3349, allocations: 0.5494 MB / 0.5514 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.3349, allocations: 0 / 0.5514 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.3352, allocations: 79.77 kB / 0.5515 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.3355, allocations: 107.6 kB / 0.5516 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.3358, allocations: 115.2 kB / 0.5517 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.3359, allocations: 87.75 kB / 0.5518 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3361, allocations: 11.98 kB / 0.5518 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.508e-05/0.3361, allocations: 35.84 kB / 0.5519 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.3362, allocations: 63.81 kB / 0.5519 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3363, allocations: 4 kB / 0.5519 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-05/0.3364, allocations: 43.98 kB / 0.552 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.3364, allocations: 23.91 kB / 0.552 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.3365, allocations: 31.73 kB / 0.552 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.3367, allocations: 112.1 kB / 0.5521 GB, free: 2.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3367, allocations: 0 / 0.5521 GB, free: 2.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3367, allocations: 0 / 0.5521 GB, free: 2.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3367, allocations: 3.938 kB / 0.5521 GB, free: 2.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005522/0.3372, allocations: 414.7 kB / 0.5525 GB, free: 2.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3373, allocations: 12.03 kB / 0.5525 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.3373, allocations: 12.84 kB / 0.5525 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.3375, allocations: 204.8 kB / 0.5527 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-06/0.3375, allocations: 384 / 0.5527 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.3376, allocations: 8.375 kB / 0.5528 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3377, allocations: 61.78 kB / 0.5528 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3377, allocations: 0 / 0.5528 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3377, allocations: 7.938 kB / 0.5528 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3377, allocations: 0 / 0.5528 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.3378, allocations: 31.91 kB / 0.5528 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.3383, allocations: 304.8 kB / 0.5531 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.3384, allocations: 46.5 kB / 0.5532 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.3384, allocations: 20.94 kB / 0.5532 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3384, allocations: 0 / 0.5532 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3385, allocations: 30.56 kB / 0.5532 GB, free: 1.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3385, allocations: 0 / 0.5532 GB, free: 1.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008679/0.3393, allocations: 241.3 kB / 0.5535 GB, free: 1.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3394, allocations: 59.39 kB / 0.5535 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.3396, allocations: 210.3 kB / 0.5537 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3396, allocations: 29.7 kB / 0.5537 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.3397, allocations: 108 kB / 0.5538 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.3397, allocations: 31.75 kB / 0.5539 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.3397, allocations: 25.7 kB / 0.5539 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3399, allocations: 326.8 kB / 0.5542 GB, free: 236 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.34, allocations: 23.98 kB / 0.5542 GB, free: 212 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.34, allocations: 31.97 kB / 0.5543 GB, free: 180 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3402, allocations: 76.75 kB / 0.5543 GB, free: 100 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3402, allocations: 4 kB / 0.5543 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002355/0.3404, allocations: 105.6 kB / 0.5544 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3405, allocations: 11.94 kB / 0.5545 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3405, allocations: 0 / 0.5545 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3405, allocations: 0 / 0.5545 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.3406, allocations: 19.98 kB / 0.5545 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3406, allocations: 0 / 0.5545 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.3406, allocations: 7.938 kB / 0.5545 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3406, allocations: 8 kB / 0.5545 GB, free: 15.94 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 (8): * Single equations (assignments): 8 * 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.0001059/0.3407, allocations: 137.7 kB / 0.5546 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.3408, allocations: 11.91 kB / 0.5546 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.3411, allocations: 139.2 kB / 0.5548 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3411, allocations: 0 / 0.5548 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3411, allocations: 0 / 0.5548 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3411, allocations: 3.938 kB / 0.5548 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005463/0.3416, allocations: 431.2 kB / 0.5552 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3416, allocations: 0 / 0.5552 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.289e-05/0.3417, allocations: 23.92 kB / 0.5552 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3417, allocations: 3.938 kB / 0.5552 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3417, allocations: 0 / 0.5552 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3417, allocations: 4 kB / 0.5552 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3417, allocations: 0 / 0.5552 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.342, allocations: 212.3 kB / 0.5554 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.3421, allocations: 92.95 kB / 0.5555 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.3421, allocations: 0 / 0.5555 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.3422, allocations: 4 kB / 0.5555 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.3422, allocations: 11.98 kB / 0.5555 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.3422, allocations: 4.359 kB / 0.5555 GB, free: 14.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.3424, allocations: 168.2 kB / 0.5557 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3424, allocations: 0 / 0.5557 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3426, allocations: 23.98 kB / 0.5557 GB, free: 14.57 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 (8): * Single equations (assignments): 8 * 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.001712/0.3443, allocations: 461.5 kB / 0.5561 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3446, allocations: 63.95 kB / 0.5562 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3446, allocations: 0 / 0.5562 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.836e-05/0.3447, allocations: 39.92 kB / 0.5562 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.3451, allocations: 15.98 kB / 0.5563 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.3457, allocations: 270.6 kB / 0.5565 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.346, allocations: 0.7118 MB / 0.5572 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.81e-05/0.3461, allocations: 24.94 kB / 0.5572 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.3461, allocations: 19.42 kB / 0.5573 GB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3461, allocations: 4 kB / 0.5573 GB, free: 13.08 MB / 414.1 MB Notification: Performance of Templates: time 0.004384/0.3505, allocations: 1.411 MB / 0.5586 GB, free: 11.68 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.isCsvExt,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time