Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001459/0.001459, allocations: 110.4 kB / 21.17 MB, free: 0.7734 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.001555/0.001555, allocations: 215.6 kB / 24.46 MB, free: 4.359 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.546/1.546, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.246/0.246, allocations: 46.88 MB / 361.1 MB, free: 4.668 MB / 286.1 MB " [Timeout remaining time 179] 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1") [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.003382/0.003382, allocations: 79.86 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4645, allocations: 65.98 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003519/0.468, allocations: 1.624 MB / 0.5628 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.4693, allocations: 0.5537 MB / 0.5633 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.4693, allocations: 4 kB / 0.5633 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.4696, allocations: 19.86 kB / 0.5634 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.4699, allocations: 79.61 kB / 0.5634 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.4703, allocations: 115.7 kB / 0.5635 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.4704, allocations: 59.83 kB / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.4706, allocations: 8 kB / 0.5636 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.4706, allocations: 31.78 kB / 0.5636 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.398e-05/0.4707, allocations: 23.86 kB / 0.5637 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.4707, allocations: 4 kB / 0.5637 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.4708, allocations: 35.98 kB / 0.5637 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.4709, allocations: 7.938 kB / 0.5637 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.4709, allocations: 27.84 kB / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.4711, allocations: 86.28 kB / 0.5638 GB, free: 2.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4711, allocations: 0 / 0.5638 GB, free: 2.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4711, allocations: 0 / 0.5638 GB, free: 2.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4711, allocations: 0 / 0.5638 GB, free: 2.379 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.0006448/0.4718, allocations: 390.9 kB / 0.5642 GB, free: 1.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4718, allocations: 8.031 kB / 0.5642 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.4719, allocations: 8.891 kB / 0.5642 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.4721, allocations: 192.2 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4722, allocations: 384 / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.4722, allocations: 8.375 kB / 0.5644 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.4724, allocations: 50.25 kB / 0.5644 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4724, allocations: 192 / 0.5644 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4724, allocations: 3.938 kB / 0.5644 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4724, allocations: 0 / 0.5644 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.4725, allocations: 31.91 kB / 0.5645 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.473, allocations: 272.9 kB / 0.5647 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.4732, allocations: 54.59 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.4733, allocations: 12.84 kB / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.4733, allocations: 7.938 kB / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4733, allocations: 34.5 kB / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.4733, allocations: 0 / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006487/0.474, allocations: 153.6 kB / 0.565 GB, free: 1.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.474, allocations: 55.34 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.4743, allocations: 154.1 kB / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4743, allocations: 25.7 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.4744, allocations: 96.12 kB / 0.5653 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.4744, allocations: 19.8 kB / 0.5653 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.4745, allocations: 13.72 kB / 0.5653 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4747, allocations: 330.8 kB / 0.5657 GB, free: 280 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.4748, allocations: 19.98 kB / 0.5657 GB, free: 260 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.4749, allocations: 24.05 kB / 0.5657 GB, free: 236 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.475, allocations: 56.81 kB / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.475, allocations: 0 / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002353/0.4752, allocations: 85.62 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.4753, allocations: 15.88 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.4753, allocations: 0 / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.4753, allocations: 0 / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.4754, allocations: 11.98 kB / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.4754, allocations: 0 / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.4754, allocations: 7.984 kB / 0.5659 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.4754, allocations: 4 kB / 0.5659 GB, free: 44 kB / 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.0001855/0.4756, allocations: 121.8 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.4757, allocations: 7.953 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.476, allocations: 93.95 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.476, allocations: 7.938 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/0.476, allocations: 0 / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.476, allocations: 0 / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005863/0.4766, allocations: 358.5 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4766, allocations: 4 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.599e-05/0.4767, allocations: 16.3 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4767, allocations: 0 / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4767, allocations: 0 / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/0.4767, allocations: 4 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4767, allocations: 3.938 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.477, allocations: 191.3 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.4771, allocations: 81.06 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.4771, allocations: 4 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.4772, allocations: 7.984 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.4772, allocations: 7.938 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.4772, allocations: 0 / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.4773, allocations: 121.3 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4773, allocations: 0 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.4776, allocations: 15.94 kB / 0.5669 GB, free: 14.91 MB / 414.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.001642/0.4792, allocations: 403.7 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.4795, allocations: 55.89 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4795, allocations: 0 / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-05/0.4796, allocations: 23.98 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.48, allocations: 18.8 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.4805, allocations: 198 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.4809, allocations: 0.7001 MB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.879e-05/0.481, allocations: 23.69 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.481, allocations: 15.42 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.481, allocations: 0 / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of Templates: time 0.004199/0.4852, allocations: 1.139 MB / 0.5694 GB, free: 12.44 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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: 5.465637072920799]