Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.008167/0.008167, allocations: 103.4 kB / 21.98 MB, free: 5.223 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.002207/0.002207, allocations: 221.9 kB / 25.3 MB, free: 3.191 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.453/1.453, allocations: 230.5 MB / 258.9 MB, free: 7.98 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.2209/0.2209, allocations: 46.93 MB / 362.3 MB, free: 4.18 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") [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.002286/0.002286, allocations: 83.84 kB / 0.4983 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4019, allocations: 66.08 MB / 0.5628 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003286/0.4052, allocations: 1.788 MB / 0.5646 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.407, allocations: 1.053 MB / 0.5656 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.4071, allocations: 3.938 kB / 0.5656 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.4075, allocations: 111.7 kB / 0.5657 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.4078, allocations: 127.5 kB / 0.5658 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.4081, allocations: 83.66 kB / 0.5659 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.4083, allocations: 139.6 kB / 0.566 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.4084, allocations: 17.58 kB / 0.566 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.4085, allocations: 63.75 kB / 0.5661 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.4087, allocations: 83.73 kB / 0.5662 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.4087, allocations: 4 kB / 0.5662 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.4088, allocations: 59.97 kB / 0.5662 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.4e-05/0.4089, allocations: 39.8 kB / 0.5663 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.871e-05/0.409, allocations: 55.66 kB / 0.5663 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.4093, allocations: 157.7 kB / 0.5665 GB, free: 424 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4093, allocations: 0 / 0.5665 GB, free: 424 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4093, allocations: 0 / 0.5665 GB, free: 424 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.4093, allocations: 4 kB / 0.5665 GB, free: 420 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006853/0.41, allocations: 397.2 kB / 0.5669 GB, free: 15.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.41, allocations: 12.03 kB / 0.5669 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.4101, allocations: 16.84 kB / 0.5669 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.4104, allocations: 163.2 kB / 0.5671 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4104, allocations: 4.375 kB / 0.5671 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.4104, allocations: 8.375 kB / 0.5671 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.4106, allocations: 73.97 kB / 0.5671 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.4106, allocations: 3.953 kB / 0.5671 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4106, allocations: 0 / 0.5671 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.4107, allocations: 4 kB / 0.5671 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.4108, allocations: 39.97 kB / 0.5672 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.4112, allocations: 307.7 kB / 0.5675 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.4115, allocations: 70.55 kB / 0.5675 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.4116, allocations: 24.84 kB / 0.5676 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.4116, allocations: 4 kB / 0.5676 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.4118, allocations: 83.25 kB / 0.5677 GB, free: 15.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.4118, allocations: 0 / 0.5677 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008927/0.4127, allocations: 305.1 kB / 0.5679 GB, free: 14.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.4127, allocations: 51.41 kB / 0.568 GB, free: 14.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.413, allocations: 263.7 kB / 0.5682 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.413, allocations: 29.7 kB / 0.5683 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.4131, allocations: 120.1 kB / 0.5684 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.4132, allocations: 55.77 kB / 0.5684 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.4132, allocations: 29.72 kB / 0.5685 GB, free: 14.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4134, allocations: 330.8 kB / 0.5688 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.4134, allocations: 35.98 kB / 0.5688 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.4135, allocations: 57.64 kB / 0.5689 GB, free: 13.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.4137, allocations: 101.6 kB / 0.569 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4137, allocations: 4 kB / 0.569 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002677/0.414, allocations: 157.6 kB / 0.5691 GB, free: 13.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.414, allocations: 4 kB / 0.5691 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.414, allocations: 0 / 0.5691 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.414, allocations: 4 kB / 0.5691 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4141, allocations: 35.92 kB / 0.5692 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.4141, allocations: 3.938 kB / 0.5692 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.4142, allocations: 12.02 kB / 0.5692 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.4142, allocations: 4 kB / 0.5692 GB, free: 13.45 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 (16): * Single equations (assignments): 16 * 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.0001307/0.4143, allocations: 142.7 kB / 0.5693 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.4144, allocations: 19.86 kB / 0.5693 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.4147, allocations: 182.7 kB / 0.5695 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.4147, allocations: 3.984 kB / 0.5695 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4148, allocations: 3.938 kB / 0.5695 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4148, allocations: 0 / 0.5695 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.4154, allocations: 487.1 kB / 0.57 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4154, allocations: 4 kB / 0.57 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.585e-05/0.4155, allocations: 19.98 kB / 0.57 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4155, allocations: 3.938 kB / 0.57 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4155, allocations: 8 kB / 0.57 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4155, allocations: 0 / 0.57 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4155, allocations: 0 / 0.57 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.4159, allocations: 265.1 kB / 0.5703 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.4159, allocations: 11.91 kB / 0.5703 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.4159, allocations: 4 kB / 0.5703 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.19e-05/0.416, allocations: 11.98 kB / 0.5703 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.4161, allocations: 7.984 kB / 0.5703 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4161, allocations: 8 kB / 0.5703 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.4163, allocations: 193.5 kB / 0.5705 GB, free: 12.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4163, allocations: 0 / 0.5705 GB, free: 12.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.4165, allocations: 39.88 kB / 0.5705 GB, free: 11.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001897/0.4184, allocations: 0.5013 MB / 0.571 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.4187, allocations: 95.95 kB / 0.5711 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4187, allocations: 3.938 kB / 0.5711 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.4188, allocations: 55.92 kB / 0.5712 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.4192, allocations: 43.58 kB / 0.5712 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/0.4198, allocations: 354.2 kB / 0.5716 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4202, allocations: 0.7241 MB / 0.5723 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.4203, allocations: 27.42 kB / 0.5723 GB, free: 10.3 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4203, allocations: 0 / 0.5723 GB, free: 10.3 MB / 414.1 MB Notification: Performance of Templates: time 0.005202/0.4255, allocations: 2.521 MB / 0.5747 GB, free: 7.785 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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: 7.919991956092417]