Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 186.9 kB / 17.97 MB, free: 3.789 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.692/1.692, allocations: 222.9 MB / 241.6 MB, free: 11 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.001272/0.001272, allocations: 105.8 kB / 291.9 MB, free: 10.95 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.4912/0.4912, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 55.92 kB / 457.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4055, allocations: 60.8 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003295/0.4089, allocations: 1.766 MB / 0.5081 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.4109, allocations: 1.448 MB / 0.5095 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.024e-05/0.411, allocations: 3.938 kB / 0.5095 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.4113, allocations: 33.66 kB / 0.5096 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.4116, allocations: 42.84 kB / 0.5096 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.4119, allocations: 99.39 kB / 0.5097 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.4121, allocations: 103.6 kB / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4122, allocations: 15.33 kB / 0.5098 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.4123, allocations: 35.91 kB / 0.5099 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.4125, allocations: 36.05 kB / 0.5099 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.4125, allocations: 0 / 0.5099 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.4127, allocations: 61 kB / 0.51 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.4127, allocations: 20.94 kB / 0.51 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.4128, allocations: 24.88 kB / 0.51 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.4131, allocations: 117.6 kB / 0.5101 GB, free: 35.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4131, allocations: 0 / 0.5101 GB, free: 35.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4131, allocations: 0 / 0.5101 GB, free: 35.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.4131, allocations: 0 / 0.5101 GB, free: 35.76 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.0006921/0.4138, allocations: 408.2 kB / 0.5105 GB, free: 35.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.4139, allocations: 8.688 kB / 0.5105 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.4139, allocations: 9.75 kB / 0.5105 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.4142, allocations: 209.4 kB / 0.5107 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4142, allocations: 3.188 kB / 0.5107 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.4143, allocations: 11.12 kB / 0.5107 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.4145, allocations: 67.72 kB / 0.5108 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4145, allocations: 0 / 0.5108 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4145, allocations: 0 / 0.5108 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.4145, allocations: 0 / 0.5108 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.4146, allocations: 26.03 kB / 0.5108 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.415, allocations: 280.8 kB / 0.5111 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.4152, allocations: 60.23 kB / 0.5111 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.4153, allocations: 17.33 kB / 0.5112 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.4153, allocations: 0 / 0.5112 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.4156, allocations: 75.69 kB / 0.5112 GB, free: 34.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.4156, allocations: 4 kB / 0.5112 GB, free: 34.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005944/0.4162, allocations: 164.2 kB / 0.5114 GB, free: 34.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.4162, allocations: 83.95 kB / 0.5115 GB, free: 34.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.4164, allocations: 150.1 kB / 0.5116 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.4164, allocations: 28.64 kB / 0.5116 GB, free: 34.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.4164, allocations: 98.06 kB / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.4164, allocations: 25.88 kB / 0.5118 GB, free: 34.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.4165, allocations: 26.44 kB / 0.5118 GB, free: 34.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.4166, allocations: 328.9 kB / 0.5121 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.279e-05/0.4166, allocations: 22.91 kB / 0.5121 GB, free: 33.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.4167, allocations: 41.39 kB / 0.5122 GB, free: 33.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.628e-05/0.4168, allocations: 59.39 kB / 0.5122 GB, free: 33.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4168, allocations: 0 / 0.5122 GB, free: 33.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001598/0.417, allocations: 108.7 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.417, allocations: 5.594 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.417, allocations: 2.719 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.417, allocations: 0 / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.4171, allocations: 21.3 kB / 0.5123 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4171, allocations: 0 / 0.5123 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.4172, allocations: 6.844 kB / 0.5124 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.4172, allocations: 6.938 kB / 0.5124 GB, free: 33.71 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 9.921e-05/0.4173, allocations: 123.5 kB / 0.5125 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.4173, allocations: 13.34 kB / 0.5125 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.4174, allocations: 11.53 kB / 0.5125 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4174, allocations: 2.969 kB / 0.5125 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4174, allocations: 0 / 0.5125 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.4174, allocations: 7.266 kB / 0.5125 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.4179, allocations: 381.3 kB / 0.5129 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4179, allocations: 0 / 0.5129 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.4179, allocations: 20.31 kB / 0.5129 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4179, allocations: 0 / 0.5129 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.418, allocations: 10.56 kB / 0.5129 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.418, allocations: 0 / 0.5129 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.418, allocations: 0 / 0.5129 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.4185, allocations: 0.776 MB / 0.5137 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.4186, allocations: 87.77 kB / 0.5137 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.4186, allocations: 6 kB / 0.5138 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.4187, allocations: 3.062 kB / 0.5138 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.4187, allocations: 6.922 kB / 0.5138 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.4188, allocations: 10 kB / 0.5138 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.4189, allocations: 123.2 kB / 0.5139 GB, free: 32.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4189, allocations: 0 / 0.5139 GB, free: 32.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004133/0.4193, allocations: 31.8 kB / 0.5139 GB, free: 32.25 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.001223/0.4205, allocations: 0.5106 MB / 0.5144 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.4208, allocations: 61.34 kB / 0.5145 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4208, allocations: 0 / 0.5145 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.162e-05/0.4208, allocations: 32.19 kB / 0.5145 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.4212, allocations: 24.47 kB / 0.5145 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.4217, allocations: 335 kB / 0.5149 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.4218, allocations: 0.6957 MB / 0.5155 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.4219, allocations: 24.02 kB / 0.5156 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.422, allocations: 23.22 kB / 0.5156 GB, free: 30.95 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.422, allocations: 0 / 0.5156 GB, free: 30.95 MB / 378.7 MB Notification: Performance of Templates: time 0.004669/0.4266, allocations: 1.925 MB / 0.5175 GB, free: 30.73 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches