Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001833/0.001833, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.467/1.467, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2349/0.2349, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 79.89 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.407, allocations: 60.81 MB / 0.519 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.004083/0.4112, allocations: 1.673 MB / 0.5206 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.4128, allocations: 0.8546 MB / 0.5214 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.4129, allocations: 3.938 kB / 0.5214 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.4133, allocations: 62.28 kB / 0.5215 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.4136, allocations: 65.56 kB / 0.5216 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.4139, allocations: 106.6 kB / 0.5217 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.4141, allocations: 99.42 kB / 0.5218 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.4141, allocations: 5.672 kB / 0.5218 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.4143, allocations: 51.69 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.4144, allocations: 43.16 kB / 0.5219 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.4144, allocations: 3.344 kB / 0.5219 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.4145, allocations: 37.25 kB / 0.5219 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.4146, allocations: 18.31 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.4146, allocations: 29.34 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.4148, allocations: 99 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4148, allocations: 1.031 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.145e-06/0.4148, allocations: 0 / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.4149, allocations: 0 / 0.522 GB, free: 1.605 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005034/0.4154, allocations: 402.5 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4154, allocations: 10.25 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.4155, allocations: 8.547 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.4157, allocations: 209.7 kB / 0.5226 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4157, allocations: 1.406 kB / 0.5226 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.4157, allocations: 7.188 kB / 0.5226 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.4159, allocations: 46.98 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4159, allocations: 7.922 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4159, allocations: 4 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.4159, allocations: 1.031 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.34e-05/0.416, allocations: 19.62 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.4162, allocations: 178.8 kB / 0.5229 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.4164, allocations: 56.03 kB / 0.5229 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.4164, allocations: 24.41 kB / 0.523 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4165, allocations: 4.703 kB / 0.523 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.4166, allocations: 64.92 kB / 0.523 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.4166, allocations: 0 / 0.523 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002788/0.4169, allocations: 96.17 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.4169, allocations: 52.81 kB / 0.5232 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.4171, allocations: 190.4 kB / 0.5234 GB, free: 372 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.4171, allocations: 25.7 kB / 0.5234 GB, free: 340 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.4172, allocations: 103.9 kB / 0.5235 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.4172, allocations: 14.75 kB / 0.5235 GB, free: 228 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.4173, allocations: 21.16 kB / 0.5235 GB, free: 208 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4174, allocations: 320.5 kB / 0.5238 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.4175, allocations: 18.52 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.357e-05/0.4175, allocations: 30.45 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.4177, allocations: 51.31 kB / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.4177, allocations: 0 / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.4179, allocations: 87.36 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4179, allocations: 6.797 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4179, allocations: 0 / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4179, allocations: 1.156 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.418, allocations: 15.08 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.418, allocations: 1.094 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.4181, allocations: 7.031 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.4181, allocations: 2.219 kB / 0.524 GB, free: 15.75 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 (7): * Single equations (assignments): 7 * 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.0001097/0.4182, allocations: 124.8 kB / 0.5241 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.4182, allocations: 9.125 kB / 0.5242 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.4183, allocations: 14.59 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4183, allocations: 1.031 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4183, allocations: 1.219 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4183, allocations: 0 / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.4185, allocations: 185.5 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4185, allocations: 4.844 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.4185, allocations: 3.344 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.4185, allocations: 5.875 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.4185, allocations: 0 / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4185, allocations: 1.828 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4185, allocations: 3.938 kB / 0.5244 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.4187, allocations: 116.6 kB / 0.5245 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.4188, allocations: 84.98 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.4188, allocations: 8.875 kB / 0.5246 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.4189, allocations: 3.547 kB / 0.5246 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.4189, allocations: 2.859 kB / 0.5246 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.4189, allocations: 7.297 kB / 0.5246 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.4191, allocations: 139.7 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4191, allocations: 0 / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000215/0.4193, allocations: 14.06 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009986/0.4203, allocations: 416.8 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.4205, allocations: 46.53 kB / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4205, allocations: 0 / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.134e-05/0.4206, allocations: 17.02 kB / 0.5252 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.4208, allocations: 37.7 kB / 0.5252 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.4213, allocations: 195.8 kB / 0.5254 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.4216, allocations: 0.7096 MB / 0.5261 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.209e-05/0.4216, allocations: 13.92 kB / 0.5261 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.4217, allocations: 14.75 kB / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4217, allocations: 0 / 0.5261 GB, free: 14.01 MB / 398.1 MB Notification: Performance of Templates: time 0.004738/0.4264, allocations: 1.476 MB / 0.5276 GB, free: 13.62 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches