Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001846/0.001846, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001982/0.001982, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.542/1.542, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2405/0.2405, allocations: 46.9 MB / 361.1 MB, free: 4.715 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.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4") [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.002589/0.002589, allocations: 79.86 kB / 0.4968 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3906, allocations: 65.98 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003192/0.3938, allocations: 1.682 MB / 0.5629 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3949, allocations: 0.5538 MB / 0.5634 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.395, allocations: 4 kB / 0.5634 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.3953, allocations: 91.69 kB / 0.5635 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.3956, allocations: 115.6 kB / 0.5636 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.3958, allocations: 95.69 kB / 0.5637 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.396, allocations: 99.75 kB / 0.5638 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3961, allocations: 22.78 kB / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.023e-05/0.3962, allocations: 43.78 kB / 0.5639 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.3963, allocations: 67.8 kB / 0.5639 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.3964, allocations: 4 kB / 0.5639 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.3964, allocations: 51.98 kB / 0.564 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.3965, allocations: 35.78 kB / 0.564 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.3966, allocations: 39.69 kB / 0.564 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.3968, allocations: 123.4 kB / 0.5642 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3968, allocations: 0 / 0.5642 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3968, allocations: 4 kB / 0.5642 GB, free: 2.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3968, allocations: 0 / 0.5642 GB, free: 2.004 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000568/0.3974, allocations: 434.6 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3974, allocations: 12.92 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.3974, allocations: 16.83 kB / 0.5646 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3977, allocations: 216.1 kB / 0.5648 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3977, allocations: 384 / 0.5648 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.3977, allocations: 8.375 kB / 0.5648 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3979, allocations: 62.23 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3979, allocations: 8.141 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3979, allocations: 7.938 kB / 0.5649 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3979, allocations: 0 / 0.5649 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.3981, allocations: 43.95 kB / 0.5649 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.3985, allocations: 332.6 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3987, allocations: 62.55 kB / 0.5653 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.3987, allocations: 16.86 kB / 0.5653 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3988, allocations: 4 kB / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3988, allocations: 42.48 kB / 0.5654 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3988, allocations: 4 kB / 0.5654 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00108/0.3999, allocations: 309.3 kB / 0.5657 GB, free: 292 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.3999, allocations: 51.41 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.4002, allocations: 251.7 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.4002, allocations: 29.7 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.4003, allocations: 112.1 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.4004, allocations: 39.59 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.4004, allocations: 33.7 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4006, allocations: 326.8 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/0.4007, allocations: 35.97 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.4008, allocations: 43.73 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.401, allocations: 88.77 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.401, allocations: 0 / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002791/0.4012, allocations: 137.6 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4013, allocations: 11.98 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4013, allocations: 0 / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.4013, allocations: 3.938 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4014, allocations: 27.98 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4014, allocations: 7.875 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.4015, allocations: 4 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.4015, allocations: 8 kB / 0.5668 GB, free: 15.04 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 (13): * Single equations (assignments): 13 * 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.0001132/0.4016, allocations: 129.8 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.4016, allocations: 15.91 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.402, allocations: 155.9 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.402, allocations: 15.97 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.402, allocations: 3.938 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.402, allocations: 3.938 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006378/0.4026, allocations: 479.1 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4026, allocations: 0 / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/0.4027, allocations: 23.98 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4027, allocations: 3.984 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4027, allocations: 12.03 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.4027, allocations: 4 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4027, allocations: 0 / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.4031, allocations: 247.4 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.4031, allocations: 89.02 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.4032, allocations: 7.984 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.4032, allocations: 4 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.4033, allocations: 11.98 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.4033, allocations: 4 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.4035, allocations: 185.2 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4035, allocations: 0 / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.4037, allocations: 23.94 kB / 0.5682 GB, free: 13.54 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 (13): * Single equations (assignments): 13 * 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.001691/0.4054, allocations: 463.6 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.4057, allocations: 87.95 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4057, allocations: 0 / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.4058, allocations: 55.91 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.4062, allocations: 23.67 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.4068, allocations: 323.6 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.4072, allocations: 0.7158 MB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.183e-05/0.4073, allocations: 20.59 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.4074, allocations: 19.44 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4074, allocations: 4 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of Templates: time 0.005147/0.4125, allocations: 1.584 MB / 0.5714 GB, free: 10.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.280844791792333]