Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.00147/0.00147, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001903/0.001903, allocations: 213.3 kB / 23.74 MB, free: 4.672 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.586/1.586, allocations: 230.6 MB / 257.5 MB, free: 8 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.2537/0.2537, allocations: 46.93 MB / 360.8 MB, free: 4.348 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+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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 67.91 kB / 0.4967 GB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3949, allocations: 66.04 MB / 0.5612 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003835/0.3987, allocations: 1.846 MB / 0.563 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.4007, allocations: 1.12 MB / 0.5641 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.614e-05/0.4008, allocations: 3.938 kB / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.4014, allocations: 299.3 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005615/0.402, allocations: 255.2 kB / 0.5646 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.4023, allocations: 111.6 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.4026, allocations: 259.2 kB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.4027, allocations: 5.812 kB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.4029, allocations: 139.5 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.4032, allocations: 219.9 kB / 0.5653 GB, free: 120 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.4032, allocations: 8 kB / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.4033, allocations: 43.98 kB / 0.5654 GB, free: 68 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.4035, allocations: 136.5 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.4036, allocations: 150.7 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.4041, allocations: 368.6 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4041, allocations: 0 / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4041, allocations: 0 / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.4041, allocations: 4 kB / 0.566 GB, free: 15.43 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.001064/0.4052, allocations: 0.6747 MB / 0.5667 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4052, allocations: 12.03 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.4053, allocations: 48.61 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/0.406, allocations: 402.4 kB / 0.5671 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.406, allocations: 384 / 0.5671 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.406, allocations: 8.125 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.4062, allocations: 87.36 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4063, allocations: 0 / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4063, allocations: 4 kB / 0.5672 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4063, allocations: 4 kB / 0.5672 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.4064, allocations: 31.92 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.407, allocations: 345.5 kB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.4073, allocations: 101.2 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4074, allocations: 45.62 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.4074, allocations: 0 / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.4077, allocations: 117 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4077, allocations: 0 / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005146/0.4082, allocations: 201.2 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.4083, allocations: 85.05 kB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.4098, allocations: 1.019 MB / 0.5691 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4098, allocations: 29.7 kB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.41, allocations: 232.1 kB / 0.5693 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.41, allocations: 31.78 kB / 0.5694 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.4101, allocations: 29.72 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4103, allocations: 370.8 kB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.4104, allocations: 23.98 kB / 0.5698 GB, free: 11.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.4105, allocations: 59.42 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.4107, allocations: 95.34 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4107, allocations: 0 / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003118/0.411, allocations: 173.7 kB / 0.5701 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.411, allocations: 11.94 kB / 0.5701 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.411, allocations: 0 / 0.5701 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4111, allocations: 0 / 0.5701 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.4112, allocations: 27.92 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4112, allocations: 4.062 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.4113, allocations: 19.88 kB / 0.5701 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4113, allocations: 4 kB / 0.5701 GB, free: 10.93 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.0002466/0.4116, allocations: 221.7 kB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.4116, allocations: 51.67 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.412, allocations: 197.8 kB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.412, allocations: 0 / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.412, allocations: 7.984 kB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.4121, allocations: 0 / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.4124, allocations: 324.4 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4124, allocations: 0 / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.4125, allocations: 8 kB / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4125, allocations: 0 / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4125, allocations: 8 kB / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4125, allocations: 0 / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4125, allocations: 0 / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.4129, allocations: 221.4 kB / 0.5711 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.413, allocations: 67.59 kB / 0.5712 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.4131, allocations: 8.125 kB / 0.5712 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.4132, allocations: 11.98 kB / 0.5712 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.4132, allocations: 7.984 kB / 0.5712 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.4132, allocations: 11.94 kB / 0.5712 GB, free: 9.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001022/0.4143, allocations: 0.7604 MB / 0.572 GB, free: 8.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4143, allocations: 4 kB / 0.572 GB, free: 8.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000279/0.4145, allocations: 43.98 kB / 0.572 GB, free: 8.922 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.00163/0.4162, allocations: 404.3 kB / 0.5724 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.4164, allocations: 83.84 kB / 0.5725 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4165, allocations: 0 / 0.5725 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.4166, allocations: 48.27 kB / 0.5725 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.417, allocations: 71.72 kB / 0.5726 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.4186, allocations: 0.8777 MB / 0.5735 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007343/0.4193, allocations: 0.8347 MB / 0.5743 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.4195, allocations: 66.92 kB / 0.5743 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.4195, allocations: 31.44 kB / 0.5744 GB, free: 6.617 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4195, allocations: 0 / 0.5744 GB, free: 6.617 MB / 414.1 MB Notification: Performance of Templates: time 0.01022/0.4298, allocations: 3.852 MB / 0.5781 GB, free: 2.793 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.632228038040921]