Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.001713/0.001713, allocations: 108.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.002097/0.002097, allocations: 213.3 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.547/1.547, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2516/0.2516, allocations: 46.88 MB / 361.1 MB, free: 4.648 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.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2") [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.002398/0.002398, allocations: 79.88 kB / 0.4968 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3914, allocations: 66 MB / 0.5613 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003487/0.3949, allocations: 1.733 MB / 0.563 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.3972, allocations: 1.051 MB / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.3973, allocations: 0 / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.3978, allocations: 35.77 kB / 0.564 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.3982, allocations: 99.53 kB / 0.5641 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.3985, allocations: 79.67 kB / 0.5642 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.3987, allocations: 103.7 kB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3989, allocations: 7.984 kB / 0.5643 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.399, allocations: 47.8 kB / 0.5644 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.3991, allocations: 35.77 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.3991, allocations: 4 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.3993, allocations: 39.98 kB / 0.5644 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.3993, allocations: 19.92 kB / 0.5645 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.3994, allocations: 31.8 kB / 0.5645 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.3997, allocations: 122.2 kB / 0.5646 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3997, allocations: 0 / 0.5646 GB, free: 1.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.3997, allocations: 0 / 0.5646 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3997, allocations: 0 / 0.5646 GB, free: 1.57 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.0008343/0.4006, allocations: 422.6 kB / 0.565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.4006, allocations: 8.031 kB / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/0.4007, allocations: 8.891 kB / 0.565 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.4012, allocations: 212.2 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4012, allocations: 384 / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.4012, allocations: 4.375 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.4014, allocations: 61.92 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.4014, allocations: 0 / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4014, allocations: 0 / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4014, allocations: 11.98 kB / 0.5653 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/0.4015, allocations: 15.98 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.402, allocations: 288.8 kB / 0.5656 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.4022, allocations: 62.61 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.802e-05/0.4022, allocations: 20.86 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.4023, allocations: 0 / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.4025, allocations: 63.39 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4025, allocations: 0 / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006575/0.4031, allocations: 173.3 kB / 0.5659 GB, free: 76 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.4032, allocations: 55.41 kB / 0.566 GB, free: 8 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.4034, allocations: 162.3 kB / 0.5661 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.4034, allocations: 37.7 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.4035, allocations: 104.1 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.4035, allocations: 27.78 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.4036, allocations: 17.72 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4037, allocations: 326.8 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.4038, allocations: 23.98 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.4039, allocations: 37.64 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.404, allocations: 65.62 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.404, allocations: 0 / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.4042, allocations: 105.5 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4042, allocations: 10.34 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4042, allocations: 0 / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4042, allocations: 0 / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.4043, allocations: 15.98 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4043, allocations: 4 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.4044, allocations: 4.031 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4044, allocations: 8.562 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001147/0.4045, allocations: 125.7 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.4045, allocations: 15.88 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.4048, allocations: 110.3 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4048, allocations: 0 / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4048, allocations: 4 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.4048, allocations: 3.984 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005177/0.4053, allocations: 399.5 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4053, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.4054, allocations: 8 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4054, allocations: 0 / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.4054, allocations: 4 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/0.4054, allocations: 7.938 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4054, allocations: 7.922 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.4057, allocations: 200.4 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.4057, allocations: 89.02 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.4058, allocations: 4 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.4058, allocations: 3.938 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.4059, allocations: 11.92 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.4059, allocations: 4 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.406, allocations: 128.1 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.406, allocations: 4 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.4063, allocations: 31.92 kB / 0.568 GB, free: 13.77 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00176/0.408, allocations: 452.5 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.4082, allocations: 55.97 kB / 0.5685 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4082, allocations: 0 / 0.5685 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.4083, allocations: 23.94 kB / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.4087, allocations: 31.97 kB / 0.5685 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.4092, allocations: 223 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.4096, allocations: 0.7042 MB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.4096, allocations: 17.17 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.4097, allocations: 19.42 kB / 0.5694 GB, free: 12.37 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4097, allocations: 3.938 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of Templates: time 0.005354/0.415, allocations: 1.759 MB / 0.5712 GB, free: 10.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.303394069895148]