Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00191/0.00191, allocations: 121.1 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.002391/0.002391, allocations: 200.6 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.467/1.467, allocations: 227.4 MB / 247 MB, free: 10.43 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.2291/0.2291, allocations: 46.11 MB / 344.3 MB, free: 11.46 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.002212/0.002212, allocations: 79.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4022, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.004343/0.4066, allocations: 1.608 MB / 0.5327 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.4078, allocations: 0.5521 MB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.4079, allocations: 0 / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.4082, allocations: 25.64 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.4085, allocations: 79.23 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.4088, allocations: 99.34 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.409, allocations: 68.94 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.4091, allocations: 14.83 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.4092, allocations: 31.19 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.4093, allocations: 29.23 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.4093, allocations: 4.344 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.4095, allocations: 105 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.4096, allocations: 16.3 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.4096, allocations: 29.39 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.41, allocations: 151.4 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.41, allocations: 3.984 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.41, allocations: 0 / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.41, allocations: 1.219 kB / 0.5338 GB, free: 11.5 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.0005894/0.4106, allocations: 417.8 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4106, allocations: 9.125 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.4107, allocations: 13.23 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.4109, allocations: 191.9 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.411, allocations: 1.469 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.411, allocations: 11.73 kB / 0.5345 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.4112, allocations: 69.81 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4112, allocations: 0 / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4112, allocations: 1.094 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4112, allocations: 0 / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.4113, allocations: 32.03 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.4118, allocations: 303.5 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.412, allocations: 62.92 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.412, allocations: 24.75 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.4121, allocations: 1.438 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4121, allocations: 38.5 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4121, allocations: 1 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007371/0.4129, allocations: 186.1 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.4129, allocations: 78.48 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.4131, allocations: 157.5 kB / 0.5354 GB, free: 9.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4132, allocations: 25.7 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.4132, allocations: 100.2 kB / 0.5355 GB, free: 9.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.4133, allocations: 22.59 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.4133, allocations: 24.59 kB / 0.5355 GB, free: 9.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4135, allocations: 325.5 kB / 0.5358 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.322e-05/0.4136, allocations: 37.78 kB / 0.5359 GB, free: 9.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.4137, allocations: 50.25 kB / 0.5359 GB, free: 9.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.4139, allocations: 67.33 kB / 0.536 GB, free: 9.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4139, allocations: 4.031 kB / 0.536 GB, free: 9.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002428/0.4142, allocations: 115.2 kB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4142, allocations: 5.5 kB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4142, allocations: 0 / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4142, allocations: 1.188 kB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4143, allocations: 23.05 kB / 0.5361 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4143, allocations: 0 / 0.5361 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.4144, allocations: 8.422 kB / 0.5361 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.4144, allocations: 6.125 kB / 0.5361 GB, free: 9.324 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 (9): * Single equations (assignments): 9 * 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.0001225/0.4146, allocations: 127.2 kB / 0.5363 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.4146, allocations: 7.297 kB / 0.5363 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.4149, allocations: 130.6 kB / 0.5364 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.415, allocations: 1.5 kB / 0.5364 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.415, allocations: 0 / 0.5364 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.415, allocations: 0 / 0.5364 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.4156, allocations: 407.3 kB / 0.5368 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4156, allocations: 1.562 kB / 0.5368 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/0.4156, allocations: 13.41 kB / 0.5368 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4157, allocations: 0 / 0.5368 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.4157, allocations: 9.422 kB / 0.5368 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4157, allocations: 3.938 kB / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4157, allocations: 1.156 kB / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.416, allocations: 207.1 kB / 0.537 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.4161, allocations: 83.44 kB / 0.5371 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.4161, allocations: 9.125 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.4162, allocations: 8.141 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.4162, allocations: 2.5 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.4162, allocations: 2.844 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.4163, allocations: 121 kB / 0.5372 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4164, allocations: 4 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.4167, allocations: 42.64 kB / 0.5373 GB, free: 8.293 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 (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.001835/0.4185, allocations: 500 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.4188, allocations: 75.27 kB / 0.5378 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4188, allocations: 1.156 kB / 0.5378 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.995e-05/0.4189, allocations: 38.11 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4193, allocations: 25.58 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.4198, allocations: 189.7 kB / 0.5381 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.4202, allocations: 0.6924 MB / 0.5387 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.674e-05/0.4203, allocations: 20.88 kB / 0.5388 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.4203, allocations: 28.23 kB / 0.5388 GB, free: 7.086 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4204, allocations: 0 / 0.5388 GB, free: 7.086 MB / 398.1 MB Notification: Performance of Templates: time 0.005382/0.4257, allocations: 1.966 MB / 0.5407 GB, free: 6.066 MB / 398.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.y,t_new.columns[1],t_new.columns[2],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],t_new.y[2],time