Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.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.001675/0.001675, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.002109/0.002109, allocations: 211.2 kB / 25.13 MB, free: 3.605 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.506/1.506, allocations: 230.4 MB / 258.7 MB, free: 8.027 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.2327/0.2327, allocations: 46.94 MB / 362 MB, free: 4.203 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.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45") [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.002423/0.002423, allocations: 79.86 kB / 0.4979 GB, free: 7.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.391, allocations: 66.08 MB / 0.5624 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003307/0.3943, allocations: 1.745 MB / 0.5641 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.3962, allocations: 1.049 MB / 0.5651 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.3963, allocations: 0 / 0.5651 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.3967, allocations: 51.7 kB / 0.5652 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.397, allocations: 95.55 kB / 0.5653 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.3973, allocations: 79.72 kB / 0.5653 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.3975, allocations: 103.7 kB / 0.5654 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3976, allocations: 4 kB / 0.5654 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3977, allocations: 59.7 kB / 0.5655 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.3978, allocations: 23.86 kB / 0.5655 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.3978, allocations: 4 kB / 0.5655 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3979, allocations: 47.97 kB / 0.5656 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.398, allocations: 27.86 kB / 0.5656 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.398, allocations: 31.75 kB / 0.5656 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.3983, allocations: 134 kB / 0.5658 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3983, allocations: 0 / 0.5658 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3983, allocations: 3.938 kB / 0.5658 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3983, allocations: 0 / 0.5658 GB, free: 0.7422 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.0006213/0.3989, allocations: 349.5 kB / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3989, allocations: 8.031 kB / 0.5661 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.399, allocations: 8.891 kB / 0.5661 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.3993, allocations: 178.2 kB / 0.5663 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.3993, allocations: 384 / 0.5663 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.3994, allocations: 384 / 0.5663 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3995, allocations: 61.98 kB / 0.5663 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3996, allocations: 0 / 0.5663 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3996, allocations: 0 / 0.5663 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3996, allocations: 0 / 0.5663 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.3997, allocations: 19.98 kB / 0.5664 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.4001, allocations: 267.9 kB / 0.5666 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.4003, allocations: 54.67 kB / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.4003, allocations: 20.84 kB / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.4004, allocations: 0 / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.4005, allocations: 67.39 kB / 0.5667 GB, free: 15.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.4005, allocations: 0 / 0.5667 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000543/0.4011, allocations: 189.3 kB / 0.5669 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.4011, allocations: 51.41 kB / 0.567 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.4014, allocations: 218.1 kB / 0.5672 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.4014, allocations: 29.7 kB / 0.5672 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.4015, allocations: 104.1 kB / 0.5673 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.4015, allocations: 23.84 kB / 0.5673 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.4015, allocations: 25.72 kB / 0.5674 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4017, allocations: 330.8 kB / 0.5677 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.4017, allocations: 19.98 kB / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.4018, allocations: 33.7 kB / 0.5677 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.4019, allocations: 57.72 kB / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4019, allocations: 4 kB / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.4021, allocations: 113.5 kB / 0.5679 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4021, allocations: 8 kB / 0.5679 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4021, allocations: 0.5312 kB / 0.5679 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4022, allocations: 0 / 0.5679 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.983e-05/0.4023, allocations: 19.92 kB / 0.5679 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4023, allocations: 8.172 kB / 0.5679 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.4023, allocations: 4 kB / 0.5679 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.4023, allocations: 7.938 kB / 0.5679 GB, free: 14.3 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.0001189/0.4024, allocations: 133.8 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.4025, allocations: 15.91 kB / 0.5681 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.4027, allocations: 122.9 kB / 0.5682 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4027, allocations: 4 kB / 0.5682 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4027, allocations: 0 / 0.5682 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4027, allocations: 0 / 0.5682 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.4032, allocations: 366.3 kB / 0.5686 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4032, allocations: 4.031 kB / 0.5686 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.4033, allocations: 11.98 kB / 0.5686 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.4033, allocations: 4 kB / 0.5686 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4033, allocations: 0 / 0.5686 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4033, allocations: 3.938 kB / 0.5686 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4033, allocations: 0 / 0.5686 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.4035, allocations: 204.3 kB / 0.5688 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.4036, allocations: 15.95 kB / 0.5688 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.4036, allocations: 0 / 0.5688 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.4037, allocations: 11.92 kB / 0.5688 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.4037, allocations: 7.938 kB / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.4037, allocations: 3.984 kB / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.4039, allocations: 160.3 kB / 0.569 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4039, allocations: 0 / 0.569 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.4042, allocations: 20 kB / 0.569 GB, free: 13.14 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.001744/0.4059, allocations: 459 kB / 0.5694 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.4061, allocations: 63.88 kB / 0.5695 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4061, allocations: 0 / 0.5695 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.4062, allocations: 32.05 kB / 0.5695 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.4065, allocations: 23.98 kB / 0.5695 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.4071, allocations: 242.6 kB / 0.5698 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4075, allocations: 0.7002 MB / 0.5704 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.4075, allocations: 25.03 kB / 0.5705 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.4076, allocations: 19.44 kB / 0.5705 GB, free: 11.7 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4076, allocations: 0 / 0.5705 GB, free: 11.7 MB / 414.1 MB Notification: Performance of Templates: time 0.005463/0.413, allocations: 1.776 MB / 0.5722 GB, free: 9.941 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.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.146481497911736]