Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001386/0.001386, allocations: 109 kB / 21.23 MB, free: 0.6641 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.00148/0.00148, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.481/1.481, allocations: 230.3 MB / 258 MB, free: 8.184 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.2396/0.2396, allocations: 46.94 MB / 361.4 MB, free: 4.469 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.CombiTable1Ds.Test18,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",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,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",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18") [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.002352/0.002352, allocations: 87.83 kB / 0.4972 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3963, allocations: 66.04 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003575/0.3999, allocations: 1.64 MB / 0.5633 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.402, allocations: 1.259 MB / 0.5645 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.4021, allocations: 0 / 0.5645 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.4023, allocations: 23.78 kB / 0.5645 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.4027, allocations: 91.61 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.403, allocations: 90.95 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.4032, allocations: 79.77 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.4033, allocations: 18.8 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.4034, allocations: 35.84 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.4036, allocations: 39.78 kB / 0.5649 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.4036, allocations: 4 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.4038, allocations: 99.92 kB / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.4038, allocations: 11.94 kB / 0.565 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.4039, allocations: 35.8 kB / 0.565 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.4042, allocations: 147.2 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4042, allocations: 0 / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4042, allocations: 4 kB / 0.5652 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.4042, allocations: 0 / 0.5652 GB, free: 0.9492 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006081/0.4048, allocations: 341.5 kB / 0.5655 GB, free: 0.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4049, allocations: 15.97 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.4049, allocations: 8.891 kB / 0.5655 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.4051, allocations: 134.4 kB / 0.5656 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.4052, allocations: 4.375 kB / 0.5656 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.4052, allocations: 4.375 kB / 0.5656 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.4054, allocations: 83.94 kB / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4054, allocations: 192 / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4054, allocations: 3.938 kB / 0.5657 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4054, allocations: 0 / 0.5657 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.4055, allocations: 35.91 kB / 0.5658 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.406, allocations: 267.8 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.4061, allocations: 54.55 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.4062, allocations: 16.98 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.4062, allocations: 7.984 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.4062, allocations: 34.5 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4062, allocations: 0 / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006882/0.4069, allocations: 181.5 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.407, allocations: 77.11 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.4072, allocations: 157.5 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.4072, allocations: 25.7 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.4073, allocations: 100.1 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.4073, allocations: 27.75 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.4074, allocations: 25.7 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002954/0.4077, allocations: 326.8 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.4078, allocations: 23.98 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.865e-05/0.4079, allocations: 41.77 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.408, allocations: 60.83 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.408, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002334/0.4082, allocations: 109.6 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4083, allocations: 8 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4083, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4083, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4084, allocations: 15.98 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.4084, allocations: 4 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.4084, allocations: 0 / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.4085, allocations: 4 kB / 0.5673 GB, free: 14.59 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.0001127/0.4086, allocations: 121.8 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.4086, allocations: 11.95 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.4089, allocations: 126.2 kB / 0.5675 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4089, allocations: 4 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4089, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4089, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.4095, allocations: 373.7 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4095, allocations: 4 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.4096, allocations: 20.36 kB / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4096, allocations: 0 / 0.5679 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.4096, allocations: 4 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4096, allocations: 3.938 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4096, allocations: 0 / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.4099, allocations: 191.5 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/0.4099, allocations: 11.95 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.4099, allocations: 4 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.41, allocations: 11.92 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.41, allocations: 15.86 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.41, allocations: 0 / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.4101, allocations: 121.6 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4101, allocations: 0 / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000296/0.4104, allocations: 39.86 kB / 0.5683 GB, free: 13.46 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 (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.001789/0.4122, allocations: 490 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.4125, allocations: 55.97 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4125, allocations: 3.938 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.4126, allocations: 39.91 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.413, allocations: 18.95 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.4136, allocations: 201.8 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.4139, allocations: 0.6963 MB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.753e-05/0.414, allocations: 12.66 kB / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.414, allocations: 15.44 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.414, allocations: 0 / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of Templates: time 0.00539/0.4194, allocations: 1.882 MB / 0.5716 GB, free: 10.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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.204476838931441]