Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 99.41 kB / 291.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4267/0.4267, allocations: 44.13 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 55.92 kB / 457.8 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3995, allocations: 60.8 MB / 0.5064 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003195/0.4028, allocations: 1.76 MB / 0.5081 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.404, allocations: 0.8668 MB / 0.509 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.4041, allocations: 0 / 0.509 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.4044, allocations: 38.05 kB / 0.509 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.4046, allocations: 44.27 kB / 0.509 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.4048, allocations: 96.59 kB / 0.5091 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.405, allocations: 97.09 kB / 0.5092 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.871e-05/0.4051, allocations: 12.2 kB / 0.5092 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.4052, allocations: 34.59 kB / 0.5093 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.4052, allocations: 37.98 kB / 0.5093 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.4053, allocations: 0 / 0.5093 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.4054, allocations: 41.08 kB / 0.5093 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.4054, allocations: 17.2 kB / 0.5094 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.4055, allocations: 35.98 kB / 0.5094 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.4056, allocations: 100.7 kB / 0.5095 GB, free: 36.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4056, allocations: 0 / 0.5095 GB, free: 36.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4056, allocations: 0 / 0.5095 GB, free: 36.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.4057, allocations: 3.938 kB / 0.5095 GB, free: 36.1 MB / 378.7 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.0004795/0.4061, allocations: 418 kB / 0.5099 GB, free: 35.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4062, allocations: 8.094 kB / 0.5099 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.4062, allocations: 10.28 kB / 0.5099 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.4064, allocations: 204.7 kB / 0.5101 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4064, allocations: 10.69 kB / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.4065, allocations: 7.906 kB / 0.5101 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.4066, allocations: 50.44 kB / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4066, allocations: 0 / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.4066, allocations: 0 / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4066, allocations: 2.844 kB / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.643e-05/0.4067, allocations: 19.88 kB / 0.5102 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.407, allocations: 290.6 kB / 0.5105 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.4072, allocations: 58.66 kB / 0.5105 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.4072, allocations: 19.83 kB / 0.5105 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.4073, allocations: 0 / 0.5105 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.4074, allocations: 75.61 kB / 0.5106 GB, free: 35.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4074, allocations: 7.938 kB / 0.5106 GB, free: 35 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004813/0.4079, allocations: 176.2 kB / 0.5108 GB, free: 34.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.408, allocations: 54.22 kB / 0.5108 GB, free: 34.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.4081, allocations: 183 kB / 0.511 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.4081, allocations: 33.64 kB / 0.5111 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.4082, allocations: 101.7 kB / 0.5112 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.4082, allocations: 26.88 kB / 0.5112 GB, free: 34.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.4082, allocations: 19.59 kB / 0.5112 GB, free: 34.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.4083, allocations: 332.3 kB / 0.5115 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.4084, allocations: 19.5 kB / 0.5115 GB, free: 34.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/0.4084, allocations: 38.53 kB / 0.5116 GB, free: 34.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.4086, allocations: 62.84 kB / 0.5116 GB, free: 34.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4086, allocations: 0 / 0.5116 GB, free: 34.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002007/0.4088, allocations: 101.4 kB / 0.5117 GB, free: 34.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4089, allocations: 9.656 kB / 0.5117 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4089, allocations: 0 / 0.5117 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4089, allocations: 0 / 0.5117 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.409, allocations: 17.81 kB / 0.5118 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.409, allocations: 0 / 0.5118 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.4091, allocations: 10.84 kB / 0.5118 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4091, allocations: 6.141 kB / 0.5118 GB, free: 34.09 MB / 378.7 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 8.867e-05/0.4092, allocations: 122.5 kB / 0.5119 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.4092, allocations: 17.62 kB / 0.5119 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.4093, allocations: 14.89 kB / 0.5119 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4093, allocations: 2.938 kB / 0.5119 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4093, allocations: 0 / 0.5119 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4093, allocations: 3.938 kB / 0.5119 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.4097, allocations: 387.2 kB / 0.5123 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4098, allocations: 2.875 kB / 0.5123 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.4098, allocations: 9.812 kB / 0.5123 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4098, allocations: 7.062 kB / 0.5123 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.4098, allocations: 7.938 kB / 0.5123 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4099, allocations: 3.469 kB / 0.5123 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4099, allocations: 3.312 kB / 0.5123 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.4103, allocations: 0.7738 MB / 0.5131 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.4104, allocations: 95.12 kB / 0.5132 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.4104, allocations: 11.09 kB / 0.5132 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.4e-05/0.4105, allocations: 0 / 0.5132 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.4105, allocations: 12.92 kB / 0.5132 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.4105, allocations: 2.844 kB / 0.5132 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.255e-05/0.4106, allocations: 150.9 kB / 0.5133 GB, free: 32.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4106, allocations: 0 / 0.5133 GB, free: 32.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.411, allocations: 32.38 kB / 0.5134 GB, free: 32.59 MB / 378.7 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.00102/0.412, allocations: 454.5 kB / 0.5138 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.4123, allocations: 62.78 kB / 0.5139 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4123, allocations: 6.844 kB / 0.5139 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.4124, allocations: 32.92 kB / 0.5139 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.4129, allocations: 34.14 kB / 0.5139 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005826/0.4135, allocations: 368 kB / 0.5143 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.4136, allocations: 0.7081 MB / 0.515 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.4137, allocations: 12.66 kB / 0.515 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.4137, allocations: 16.03 kB / 0.515 GB, free: 31.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4137, allocations: 0 / 0.515 GB, free: 31.32 MB / 378.7 MB Notification: Performance of Templates: time 0.004035/0.4178, allocations: 1.681 MB / 0.5166 GB, free: 31.12 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches