Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 213.3 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 46.96 MB / 361.6 MB, free: 4.031 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 67.89 kB / 0.4974 GB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3949, allocations: 66.03 MB / 0.5619 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004754/0.3997, allocations: 1.784 MB / 0.5636 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.4027, allocations: 1.046 MB / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.4029, allocations: 0 / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.4039, allocations: 311.3 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009074/0.4048, allocations: 255.2 kB / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.4052, allocations: 111.6 kB / 0.5653 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000472/0.4057, allocations: 267.2 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.4058, allocations: 5.812 kB / 0.5655 GB, free: 364 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.406, allocations: 135.5 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.4064, allocations: 223.4 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/0.4065, allocations: 8.047 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.4066, allocations: 51.94 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.4069, allocations: 139.6 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.407, allocations: 119 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006898/0.4077, allocations: 380.6 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4077, allocations: 0 / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4077, allocations: 0 / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.4078, allocations: 0 / 0.5665 GB, free: 15.32 MB / 414.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.001514/0.4093, allocations: 0.6824 MB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.4093, allocations: 12.03 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.4095, allocations: 56.59 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/0.4104, allocations: 394.5 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.4104, allocations: 384 / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.4104, allocations: 12.12 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.4107, allocations: 87.34 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.4107, allocations: 7.984 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4108, allocations: 0 / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4108, allocations: 0 / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.4109, allocations: 43.84 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.4115, allocations: 314 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.4119, allocations: 109.2 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.412, allocations: 37.7 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.4121, allocations: 0 / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.4124, allocations: 117 kB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.4124, allocations: 3.938 kB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007186/0.4131, allocations: 205.7 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.4132, allocations: 81.05 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.4149, allocations: 1.062 MB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.4149, allocations: 33.7 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.4152, allocations: 236.1 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.4153, allocations: 27.75 kB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/0.4153, allocations: 33.7 kB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002525/0.4156, allocations: 366.8 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.4157, allocations: 36.09 kB / 0.5704 GB, free: 11.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.4158, allocations: 59.42 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.4161, allocations: 95.34 kB / 0.5705 GB, free: 11.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4161, allocations: 0 / 0.5705 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004307/0.4166, allocations: 189.1 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.4166, allocations: 4 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4166, allocations: 0 / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.4166, allocations: 4 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.4168, allocations: 23.98 kB / 0.5707 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.4168, allocations: 8 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.4169, allocations: 11.94 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.4169, allocations: 4 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003057/0.4173, allocations: 217.8 kB / 0.571 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.4174, allocations: 63.56 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.4179, allocations: 198.1 kB / 0.5712 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.4179, allocations: 7.984 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4179, allocations: 4 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4179, allocations: 4 kB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.4183, allocations: 265.2 kB / 0.5715 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.4183, allocations: 4 kB / 0.5715 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.4184, allocations: 15.92 kB / 0.5715 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.4184, allocations: 7.875 kB / 0.5715 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.4184, allocations: 8 kB / 0.5715 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4184, allocations: 0 / 0.5715 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4184, allocations: 0 / 0.5715 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.419, allocations: 221.5 kB / 0.5717 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.4191, allocations: 67.53 kB / 0.5718 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.4192, allocations: 12 kB / 0.5718 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.4193, allocations: 7.984 kB / 0.5718 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.4194, allocations: 15.91 kB / 0.5718 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.4194, allocations: 8 kB / 0.5718 GB, free: 9.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001253/0.4207, allocations: 0.7878 MB / 0.5726 GB, free: 8.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4207, allocations: 0 / 0.5726 GB, free: 8.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004666/0.4212, allocations: 47.98 kB / 0.5726 GB, free: 8.777 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002158/0.4233, allocations: 437 kB / 0.5731 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.4238, allocations: 95.83 kB / 0.5731 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4238, allocations: 0 / 0.5731 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.424, allocations: 43.91 kB / 0.5732 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.4246, allocations: 74.77 kB / 0.5733 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.4263, allocations: 0.938 MB / 0.5742 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.4267, allocations: 245.7 kB / 0.5744 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.4268, allocations: 27.44 kB / 0.5744 GB, free: 7.066 MB / 414.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4268, allocations: 0 / 0.5744 GB, free: 7.066 MB / 414.1 MB Notification: Performance of Templates: time 0.01058/0.4373, allocations: 5.349 MB / 0.5797 GB, free: 1.719 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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: 8.24897376500303]