Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001942/0.001942, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002031/0.002031, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 227.4 MB / 247 MB, free: 10.39 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.2289/0.2289, allocations: 46.13 MB / 344.3 MB, free: 11.32 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.002239/0.002239, allocations: 84.09 kB / 481.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4029, allocations: 62.44 MB / 0.5311 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003388/0.4064, allocations: 1.6 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.4083, allocations: 1.151 MB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.4084, allocations: 1.375 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.4087, allocations: 31.91 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.409, allocations: 81.75 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.4093, allocations: 91.19 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.4095, allocations: 63.39 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.4096, allocations: 13.48 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.097e-05/0.4097, allocations: 26.86 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.4098, allocations: 37.41 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.4099, allocations: 8.125 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.4101, allocations: 96.17 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.4101, allocations: 10.69 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.4102, allocations: 27.92 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.4105, allocations: 144.3 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4105, allocations: 0 / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4105, allocations: 0 / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.4105, allocations: 0 / 0.5344 GB, free: 11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000648/0.4112, allocations: 403.5 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4112, allocations: 13.62 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.4113, allocations: 9.016 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.4116, allocations: 192.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4116, allocations: 5.688 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.4116, allocations: 1.75 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.4118, allocations: 67.89 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4118, allocations: 1.375 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4118, allocations: 0 / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4119, allocations: 1.375 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.412, allocations: 24.36 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.4124, allocations: 278.7 kB / 0.5353 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.4126, allocations: 48.39 kB / 0.5354 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.4127, allocations: 11.45 kB / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.4127, allocations: 4 kB / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.4128, allocations: 35.56 kB / 0.5354 GB, free: 9.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4128, allocations: 1.062 kB / 0.5354 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006241/0.4134, allocations: 145 kB / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.4135, allocations: 78.45 kB / 0.5357 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.4137, allocations: 148.5 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.4137, allocations: 25.7 kB / 0.5358 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.4138, allocations: 95.31 kB / 0.5359 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.4138, allocations: 22.11 kB / 0.5359 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.4139, allocations: 14.69 kB / 0.536 GB, free: 9.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.414, allocations: 324.2 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.183e-05/0.4141, allocations: 18.55 kB / 0.5363 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.715e-05/0.4142, allocations: 38.45 kB / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.4144, allocations: 56.64 kB / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4144, allocations: 0 / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002064/0.4146, allocations: 77.12 kB / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4146, allocations: 4.719 kB / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4146, allocations: 1.156 kB / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4147, allocations: 288 / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/0.4147, allocations: 17.83 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4148, allocations: 5.25 kB / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.4148, allocations: 6.172 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4148, allocations: 6.219 kB / 0.5365 GB, free: 8.941 MB / 398.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 (5): * Single equations (assignments): 5 * 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.000122/0.415, allocations: 117.2 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.415, allocations: 12.47 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.4153, allocations: 88.5 kB / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4153, allocations: 5.219 kB / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4153, allocations: 0 / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4153, allocations: 0 / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.4158, allocations: 355.2 kB / 0.537 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4158, allocations: 0 / 0.537 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.4159, allocations: 13.05 kB / 0.537 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4159, allocations: 1.125 kB / 0.537 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4159, allocations: 5.125 kB / 0.5371 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.416, allocations: 7.938 kB / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.416, allocations: 1.406 kB / 0.5371 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.4162, allocations: 178.9 kB / 0.5372 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.4163, allocations: 87.36 kB / 0.5373 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.4163, allocations: 5.156 kB / 0.5373 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.4164, allocations: 7.312 kB / 0.5373 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.4164, allocations: 10.27 kB / 0.5373 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-06/0.4165, allocations: 1.125 kB / 0.5373 GB, free: 8.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.4166, allocations: 112.5 kB / 0.5374 GB, free: 8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4166, allocations: 0 / 0.5374 GB, free: 8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.4169, allocations: 39.8 kB / 0.5375 GB, free: 7.984 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001836/0.4187, allocations: 499.7 kB / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.419, allocations: 48.69 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.419, allocations: 4 kB / 0.538 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.4191, allocations: 28.27 kB / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.4194, allocations: 18.62 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.4199, allocations: 156 kB / 0.5382 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.4203, allocations: 0.6936 MB / 0.5389 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.452e-05/0.4204, allocations: 22.28 kB / 0.5389 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.4204, allocations: 17.86 kB / 0.5389 GB, free: 6.812 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4204, allocations: 0 / 0.5389 GB, free: 6.812 MB / 398.1 MB Notification: Performance of Templates: time 0.005346/0.4258, allocations: 1.752 MB / 0.5406 GB, free: 5.898 MB / 398.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test24.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.isCsvExt,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time