Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.285/1.285, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008056/0.000806, allocations: 88.09 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1855/0.1855, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.867e-05, allocations: 8.203 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1224, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/0.5052, allocations: 90.12 MB / 0.5897 GB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.5055, allocations: 75.95 kB / 0.5898 GB, free: 15.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.517, allocations: 4.36 MB / 0.5941 GB, free: 10.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.517, allocations: 0 / 0.5941 GB, free: 10.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.5171, allocations: 4 kB / 0.5941 GB, free: 10.78 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005262/0.5176, allocations: 459.8 kB / 0.5945 GB, free: 10.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.5176, allocations: 8.031 kB / 0.5945 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.5177, allocations: 11.91 kB / 0.5945 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.518, allocations: 219.3 kB / 0.5947 GB, free: 10 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.5181, allocations: 15.89 kB / 0.5947 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.5181, allocations: 7.984 kB / 0.5947 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.5183, allocations: 101.7 kB / 0.5948 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5183, allocations: 3.984 kB / 0.5948 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.5183, allocations: 4 kB / 0.5949 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5183, allocations: 0 / 0.5949 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.939e-05/0.5184, allocations: 43.88 kB / 0.5949 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.5191, allocations: 0.5243 MB / 0.5954 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.5193, allocations: 78.89 kB / 0.5955 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.5194, allocations: 32.86 kB / 0.5955 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.5194, allocations: 3.938 kB / 0.5955 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.5196, allocations: 83.33 kB / 0.5956 GB, free: 9.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.5196, allocations: 0 / 0.5956 GB, free: 9.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002424/0.5198, allocations: 105.4 kB / 0.5957 GB, free: 8.906 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.5199, allocations: 55.41 kB / 0.5958 GB, free: 8.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.5201, allocations: 178.6 kB / 0.5959 GB, free: 8.648 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.5201, allocations: 25.7 kB / 0.5959 GB, free: 8.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.5202, allocations: 112 kB / 0.5961 GB, free: 8.504 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.5202, allocations: 39.55 kB / 0.5961 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-06/0.5202, allocations: 0 / 0.5961 GB, free: 8.465 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5204, allocations: 326.8 kB / 0.5964 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.5204, allocations: 24 kB / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.5205, allocations: 48.3 kB / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.211e-05/0.5206, allocations: 31.98 kB / 0.5965 GB, free: 8.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.5206, allocations: 3.938 kB / 0.5965 GB, free: 8.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001939/0.5208, allocations: 129.4 kB / 0.5966 GB, free: 7.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5208, allocations: 8 kB / 0.5966 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5208, allocations: 3.984 kB / 0.5966 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.5208, allocations: 0 / 0.5966 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.521, allocations: 24.12 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.521, allocations: 7.984 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7e-05/0.5211, allocations: 11.94 kB / 0.5967 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.5211, allocations: 11.95 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.578e-05/0.5212, allocations: 113.9 kB / 0.5968 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.5212, allocations: 15.81 kB / 0.5968 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.5214, allocations: 119.1 kB / 0.5969 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.5214, allocations: 3.984 kB / 0.5969 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5215, allocations: 4 kB / 0.5969 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.5215, allocations: 0 / 0.5969 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.5217, allocations: 217.7 kB / 0.5971 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.5217, allocations: 0 / 0.5971 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.102e-05/0.5217, allocations: 15.98 kB / 0.5972 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5218, allocations: 0 / 0.5972 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.5218, allocations: 4 kB / 0.5972 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5218, allocations: 4 kB / 0.5972 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5218, allocations: 0 / 0.5972 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.5221, allocations: 180.7 kB / 0.5973 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.5221, allocations: 92.89 kB / 0.5974 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.5222, allocations: 8 kB / 0.5974 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.5222, allocations: 7.984 kB / 0.5974 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.5223, allocations: 7.984 kB / 0.5975 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.5223, allocations: 7.938 kB / 0.5975 GB, free: 6.926 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.5224, allocations: 145.4 kB / 0.5976 GB, free: 6.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5224, allocations: 4.062 kB / 0.5976 GB, free: 6.781 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002152/0.5226, allocations: 32.12 kB / 0.5976 GB, free: 6.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008807/0.5235, allocations: 377.3 kB / 0.598 GB, free: 6.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.5237, allocations: 71.86 kB / 0.5981 GB, free: 6.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5237, allocations: 0 / 0.5981 GB, free: 6.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.5238, allocations: 36.12 kB / 0.5981 GB, free: 6.375 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.5241, allocations: 43.3 kB / 0.5981 GB, free: 6.332 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.5245, allocations: 192 kB / 0.5983 GB, free: 6.129 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.5248, allocations: 0.7165 MB / 0.599 GB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.132e-05/0.5248, allocations: 25.19 kB / 0.599 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.5249, allocations: 19.42 kB / 0.5991 GB, free: 5.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5249, allocations: 0 / 0.5991 GB, free: 5.34 MB / 410.7 MB Notification: Performance of Templates: time 0.00428/0.5292, allocations: 1.785 MB / 0.6008 GB, free: 3.566 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches