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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001776, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 470.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4213, allocations: 60.81 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003751/0.4251, allocations: 1.714 MB / 0.5207 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.4267, allocations: 0.8681 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.4268, allocations: 4 kB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.4273, allocations: 42.86 kB / 0.5215 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.4276, allocations: 57.17 kB / 0.5216 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.428, allocations: 108.3 kB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.4282, allocations: 96.42 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.4284, allocations: 15.97 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.4285, allocations: 36.75 kB / 0.5218 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.4286, allocations: 35.41 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.4287, allocations: 2.469 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.4288, allocations: 42.91 kB / 0.5219 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.986e-05/0.4289, allocations: 23.88 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.429, allocations: 36.8 kB / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.4293, allocations: 112.9 kB / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4293, allocations: 0 / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.4293, allocations: 1.844 kB / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.4293, allocations: 4 kB / 0.5221 GB, free: 1.527 MB / 382.1 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.0006896/0.43, allocations: 409.6 kB / 0.5225 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.4301, allocations: 9.844 kB / 0.5225 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.4302, allocations: 14.3 kB / 0.5225 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.4305, allocations: 211.6 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.4305, allocations: 6.562 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.4305, allocations: 5.406 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.4307, allocations: 54.22 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4308, allocations: 10.08 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4308, allocations: 0 / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.4308, allocations: 1.406 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.84e-05/0.4309, allocations: 19.34 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.4314, allocations: 290.1 kB / 0.5231 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.4316, allocations: 60.33 kB / 0.5231 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.245e-05/0.4316, allocations: 23.77 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.4317, allocations: 1.062 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.4319, allocations: 70.2 kB / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.4319, allocations: 0 / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006534/0.4325, allocations: 173.2 kB / 0.5234 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4326, allocations: 57.25 kB / 0.5234 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.4328, allocations: 200 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.4328, allocations: 30.86 kB / 0.5237 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.4329, allocations: 104.2 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.433, allocations: 27 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.4331, allocations: 21.83 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4332, allocations: 326.1 kB / 0.5241 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.4333, allocations: 26.03 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.4334, allocations: 39.92 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.4335, allocations: 64.77 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4335, allocations: 1.062 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002056/0.4338, allocations: 97.31 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4338, allocations: 5.094 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4338, allocations: 1.312 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.4338, allocations: 0.6094 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4339, allocations: 19.97 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.434, allocations: 1.312 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.434, allocations: 10.45 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.434, allocations: 2.656 kB / 0.5244 GB, free: 15.5 MB / 398.1 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 0.0001265/0.4342, allocations: 128.5 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.4342, allocations: 12.06 kB / 0.5245 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.016e-05/0.4343, allocations: 21.58 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4343, allocations: 1.188 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4343, allocations: 4 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.4343, allocations: 6 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.4348, allocations: 387.2 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4348, allocations: 0 / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.4349, allocations: 13.03 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4349, allocations: 1.781 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4349, allocations: 6.375 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4349, allocations: 0 / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4349, allocations: 2.438 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.4352, allocations: 208.5 kB / 0.5251 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.4352, allocations: 86.31 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.4353, allocations: 4.453 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.4353, allocations: 6.812 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.4354, allocations: 6.328 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.4354, allocations: 7.906 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.4356, allocations: 152.8 kB / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4356, allocations: 0 / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.4359, allocations: 29.56 kB / 0.5254 GB, free: 14.61 MB / 398.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: 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.001143/0.437, allocations: 477.2 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.4372, allocations: 55.66 kB / 0.5259 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4373, allocations: 1.156 kB / 0.5259 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.4374, allocations: 31.81 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.4377, allocations: 33.05 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.4383, allocations: 229.2 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.4387, allocations: 0.7117 MB / 0.5269 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.355e-05/0.4388, allocations: 17.19 kB / 0.5269 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.4388, allocations: 20.39 kB / 0.5269 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4388, allocations: 0 / 0.5269 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.006212/0.445, allocations: 1.73 MB / 0.5286 GB, free: 12.88 MB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches