Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, 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.001254/0.001254, allocations: 187 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.25/1.25, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.1864/0.1864, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001132, allocations: 63.89 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3056, allocations: 60.82 MB / 0.519 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002786/0.3084, allocations: 1.707 MB / 0.5206 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3097, allocations: 0.8752 MB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.947e-05/0.3098, allocations: 9.031 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.3101, allocations: 71.34 kB / 0.5216 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.3104, allocations: 81.97 kB / 0.5217 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.3107, allocations: 110.2 kB / 0.5218 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3109, allocations: 110.9 kB / 0.5219 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.311, allocations: 16.08 kB / 0.5219 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3112, allocations: 46.14 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3113, allocations: 58.05 kB / 0.522 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3113, allocations: 3.75 kB / 0.522 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3114, allocations: 43.39 kB / 0.522 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.3115, allocations: 23.25 kB / 0.522 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.3115, allocations: 33.45 kB / 0.5221 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.3117, allocations: 131.1 kB / 0.5222 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3118, allocations: 0 / 0.5222 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3118, allocations: 0.9688 kB / 0.5222 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3118, allocations: 7.938 kB / 0.5222 GB, free: 1.523 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.0004246/0.3122, allocations: 420.5 kB / 0.5226 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3122, allocations: 9.344 kB / 0.5226 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.3123, allocations: 10.61 kB / 0.5226 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.3125, allocations: 211.2 kB / 0.5228 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3125, allocations: 2.766 kB / 0.5228 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3126, allocations: 5.531 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.3127, allocations: 57.59 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3127, allocations: 5.984 kB / 0.5229 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3127, allocations: 0 / 0.5229 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3127, allocations: 1.312 kB / 0.5229 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.058e-05/0.3128, allocations: 22.77 kB / 0.5229 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.3131, allocations: 291.6 kB / 0.5232 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.3133, allocations: 60.33 kB / 0.5233 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.3133, allocations: 24.34 kB / 0.5233 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.3133, allocations: 1 kB / 0.5233 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.3135, allocations: 67.3 kB / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3135, allocations: 0 / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004709/0.3139, allocations: 168.3 kB / 0.5235 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.314, allocations: 57.81 kB / 0.5236 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3141, allocations: 213.1 kB / 0.5238 GB, free: 148 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.3142, allocations: 31.56 kB / 0.5238 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.3142, allocations: 104.9 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.3143, allocations: 27.3 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3143, allocations: 25.03 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3144, allocations: 326.5 kB / 0.5243 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.3145, allocations: 22.03 kB / 0.5243 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.3145, allocations: 43.42 kB / 0.5243 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3147, allocations: 57.69 kB / 0.5244 GB, free: 15.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3147, allocations: 0.6562 kB / 0.5244 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001838/0.3149, allocations: 101.5 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3149, allocations: 5.781 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3149, allocations: 0.5156 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3149, allocations: 1.438 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.315, allocations: 19.67 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.315, allocations: 1.5 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.3151, allocations: 6.578 kB / 0.5245 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3151, allocations: 2.469 kB / 0.5245 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 9.535e-05/0.3152, allocations: 140 kB / 0.5246 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.3152, allocations: 14.19 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.3153, allocations: 16.8 kB / 0.5247 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3153, allocations: 2.484 kB / 0.5247 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3153, allocations: 4 kB / 0.5247 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3153, allocations: 4.594 kB / 0.5247 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.3157, allocations: 393 kB / 0.5251 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3157, allocations: 1.25 kB / 0.5251 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.3158, allocations: 8.859 kB / 0.5251 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3158, allocations: 5.344 kB / 0.5251 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3158, allocations: 9.938 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3158, allocations: 5.312 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3158, allocations: 0.7031 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.316, allocations: 201.2 kB / 0.5253 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.3161, allocations: 88.88 kB / 0.5254 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3161, allocations: 10.73 kB / 0.5254 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.3162, allocations: 2.75 kB / 0.5254 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.3162, allocations: 9.844 kB / 0.5254 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3162, allocations: 7.781 kB / 0.5254 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3164, allocations: 161.2 kB / 0.5256 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3164, allocations: 0 / 0.5256 GB, free: 14.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3166, allocations: 25.36 kB / 0.5256 GB, free: 14.59 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.000952/0.3176, allocations: 461.2 kB / 0.526 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.3178, allocations: 69.72 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3178, allocations: 0 / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.3179, allocations: 23.5 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.3182, allocations: 32.27 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.3186, allocations: 240.9 kB / 0.5264 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.3189, allocations: 0.7107 MB / 0.5271 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.3189, allocations: 13.56 kB / 0.5271 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.319, allocations: 15.58 kB / 0.5271 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.319, allocations: 1.375 kB / 0.5271 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.004321/0.3233, allocations: 1.756 MB / 0.5288 GB, free: 12.82 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches