Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, 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.543/1.543, allocations: 222.9 MB / 241.6 MB, free: 10.97 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.0009986/0.0009986, allocations: 105.2 kB / 291.9 MB, free: 10.94 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.319/0.319, allocations: 44.13 MB / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 55.92 kB / 457.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2897, allocations: 60.81 MB / 0.5064 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003022/0.2928, allocations: 1.755 MB / 0.5081 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.294, allocations: 0.8703 MB / 0.509 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.2941, allocations: 1.062 kB / 0.509 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.2943, allocations: 30.12 kB / 0.509 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.2945, allocations: 59.34 kB / 0.5091 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.2947, allocations: 91.44 kB / 0.5091 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.2949, allocations: 89.78 kB / 0.5092 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.064e-05/0.295, allocations: 10.83 kB / 0.5092 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.295, allocations: 42.22 kB / 0.5093 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.2951, allocations: 29.94 kB / 0.5093 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.2951, allocations: 2.219 kB / 0.5093 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.545e-05/0.2952, allocations: 53.08 kB / 0.5094 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.2953, allocations: 16.81 kB / 0.5094 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.2953, allocations: 28.38 kB / 0.5094 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.2955, allocations: 110.5 kB / 0.5095 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2955, allocations: 0 / 0.5095 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2955, allocations: 0 / 0.5095 GB, free: 35.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2955, allocations: 2.969 kB / 0.5095 GB, free: 35.97 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.0004867/0.296, allocations: 412 kB / 0.5099 GB, free: 35.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.296, allocations: 8.469 kB / 0.5099 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.2961, allocations: 18.41 kB / 0.5099 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.2963, allocations: 217 kB / 0.5101 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2963, allocations: 3.219 kB / 0.5101 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.2963, allocations: 6.875 kB / 0.5101 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.2964, allocations: 51.69 kB / 0.5102 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2964, allocations: 3.938 kB / 0.5102 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2965, allocations: 0 / 0.5102 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2965, allocations: 2.938 kB / 0.5102 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.225e-05/0.2965, allocations: 23.11 kB / 0.5102 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.2968, allocations: 296.5 kB / 0.5105 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.297, allocations: 49.69 kB / 0.5106 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.2971, allocations: 20.97 kB / 0.5106 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2971, allocations: 0 / 0.5106 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.2973, allocations: 75.78 kB / 0.5106 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2973, allocations: 0 / 0.5106 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004959/0.2978, allocations: 176.4 kB / 0.5108 GB, free: 34.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.2978, allocations: 51.41 kB / 0.5109 GB, free: 34.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.298, allocations: 202 kB / 0.5111 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.298, allocations: 29.7 kB / 0.5111 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.298, allocations: 101.4 kB / 0.5112 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.2981, allocations: 36.91 kB / 0.5112 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.2981, allocations: 18.88 kB / 0.5112 GB, free: 34.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.2982, allocations: 328.8 kB / 0.5115 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.214e-05/0.2982, allocations: 20.64 kB / 0.5116 GB, free: 34.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.2983, allocations: 35.27 kB / 0.5116 GB, free: 34.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.397e-05/0.2984, allocations: 61.09 kB / 0.5117 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2984, allocations: 4 kB / 0.5117 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.2986, allocations: 97.41 kB / 0.5118 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2986, allocations: 5.438 kB / 0.5118 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2986, allocations: 2.719 kB / 0.5118 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2986, allocations: 3.984 kB / 0.5118 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.2987, allocations: 24.67 kB / 0.5118 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2987, allocations: 0 / 0.5118 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.2988, allocations: 6.281 kB / 0.5118 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2988, allocations: 2.594 kB / 0.5118 GB, free: 33.95 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.393e-05/0.2989, allocations: 134 kB / 0.5119 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.2989, allocations: 13.47 kB / 0.5119 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.2989, allocations: 21.84 kB / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2989, allocations: 0 / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.299, allocations: 0 / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.299, allocations: 6.469 kB / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.2993, allocations: 390.4 kB / 0.5123 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2993, allocations: 7.125 kB / 0.5123 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.2994, allocations: 9.719 kB / 0.5124 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2994, allocations: 3.938 kB / 0.5124 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2994, allocations: 6.781 kB / 0.5124 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2994, allocations: 0 / 0.5124 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2994, allocations: 6.297 kB / 0.5124 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.2998, allocations: 0.7873 MB / 0.5131 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.2998, allocations: 87.33 kB / 0.5132 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.2998, allocations: 0 / 0.5132 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.2999, allocations: 2.906 kB / 0.5132 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.2999, allocations: 10.61 kB / 0.5132 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3, allocations: 2.625 kB / 0.5132 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.878e-05/0.3001, allocations: 151 kB / 0.5134 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3001, allocations: 0 / 0.5134 GB, free: 32.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.3004, allocations: 31.73 kB / 0.5134 GB, free: 32.46 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.0009334/0.3014, allocations: 449.9 kB / 0.5138 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.3015, allocations: 73.25 kB / 0.5139 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3015, allocations: 0 / 0.5139 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.604e-05/0.3016, allocations: 28.38 kB / 0.5139 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.3019, allocations: 36.25 kB / 0.514 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.3023, allocations: 377.9 kB / 0.5143 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.3025, allocations: 0.7066 MB / 0.515 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.792e-05/0.3025, allocations: 11.84 kB / 0.515 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.3026, allocations: 19.88 kB / 0.5151 GB, free: 31.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3026, allocations: 3.938 kB / 0.5151 GB, free: 31.18 MB / 378.7 MB Notification: Performance of Templates: time 0.003519/0.3061, allocations: 1.681 MB / 0.5167 GB, free: 30.99 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches