Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001856/0.001856, allocations: 187.1 kB / 18.7 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.468/1.468, 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.2048/0.2048, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4044, allocations: 60.83 MB / 0.519 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003223/0.4077, allocations: 1.707 MB / 0.5206 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.4099, allocations: 1.485 MB / 0.5221 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.41, allocations: 9.125 kB / 0.5221 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.4103, allocations: 27.83 kB / 0.5221 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.4106, allocations: 60.66 kB / 0.5222 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.4109, allocations: 117.6 kB / 0.5223 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.4111, allocations: 95.52 kB / 0.5224 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.4112, allocations: 8.359 kB / 0.5224 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.4113, allocations: 45.78 kB / 0.5224 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.4114, allocations: 39.25 kB / 0.5225 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.4115, allocations: 5.156 kB / 0.5225 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.4116, allocations: 61.45 kB / 0.5225 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.4117, allocations: 15.59 kB / 0.5226 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.4117, allocations: 34.59 kB / 0.5226 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.412, allocations: 120 kB / 0.5227 GB, free: 1.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.412, allocations: 0 / 0.5227 GB, free: 1.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.412, allocations: 0 / 0.5227 GB, free: 1.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.412, allocations: 0 / 0.5227 GB, free: 1.344 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.0005572/0.4125, allocations: 408.7 kB / 0.5231 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4126, allocations: 11.02 kB / 0.5231 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.4126, allocations: 8.688 kB / 0.5231 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.4129, allocations: 204.1 kB / 0.5233 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4129, allocations: 7.656 kB / 0.5233 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.4129, allocations: 14.55 kB / 0.5233 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.4131, allocations: 66.3 kB / 0.5234 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4132, allocations: 0 / 0.5234 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4132, allocations: 5.922 kB / 0.5234 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4132, allocations: 5.531 kB / 0.5234 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.707e-05/0.4133, allocations: 16.55 kB / 0.5234 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.4137, allocations: 279.8 kB / 0.5237 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.4139, allocations: 65.38 kB / 0.5238 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.4139, allocations: 23.61 kB / 0.5238 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.414, allocations: 1.75 kB / 0.5238 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.4141, allocations: 66.64 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4141, allocations: 0 / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005575/0.4147, allocations: 169.1 kB / 0.524 GB, free: 160 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4147, allocations: 77.86 kB / 0.5241 GB, free: 64 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.4149, allocations: 160.6 kB / 0.5242 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.415, allocations: 27.61 kB / 0.5243 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.415, allocations: 93.89 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.4151, allocations: 27.53 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.4151, allocations: 27.78 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4153, allocations: 324.5 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.4153, allocations: 18.59 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.4154, allocations: 45.62 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.4155, allocations: 57.53 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4156, allocations: 0 / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001908/0.4157, allocations: 96.5 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4158, allocations: 5.844 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4158, allocations: 0.5156 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4158, allocations: 1.531 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4159, allocations: 23.16 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4159, allocations: 4.844 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.416, allocations: 7.203 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.416, allocations: 3.516 kB / 0.525 GB, free: 15.3 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.000118/0.4161, allocations: 117.8 kB / 0.5251 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.4162, allocations: 10.31 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.4162, allocations: 17.75 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4162, allocations: 0 / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4162, allocations: 5.141 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4162, allocations: 9.844 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.4167, allocations: 387.1 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4168, allocations: 5.031 kB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.4168, allocations: 8.328 kB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4168, allocations: 1.188 kB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4168, allocations: 11.36 kB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4168, allocations: 1.938 kB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4168, allocations: 4 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.4171, allocations: 204.7 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.4171, allocations: 84.02 kB / 0.5258 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.4172, allocations: 11.16 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.4173, allocations: 2.875 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.4173, allocations: 5.891 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.4174, allocations: 4.188 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.4175, allocations: 120 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4175, allocations: 0 / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.4178, allocations: 34.58 kB / 0.526 GB, free: 14.42 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.001149/0.4189, allocations: 0.4972 MB / 0.5264 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.4191, allocations: 65.52 kB / 0.5265 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4191, allocations: 0 / 0.5265 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.803e-05/0.4192, allocations: 28.78 kB / 0.5265 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.4196, allocations: 31.53 kB / 0.5266 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.42, allocations: 194.4 kB / 0.5267 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.4203, allocations: 0.6992 MB / 0.5274 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.4204, allocations: 19.86 kB / 0.5275 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.4204, allocations: 17.72 kB / 0.5275 GB, free: 13.28 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4205, allocations: 0 / 0.5275 GB, free: 13.28 MB / 398.1 MB Notification: Performance of Templates: time 0.005817/0.4263, allocations: 1.999 MB / 0.5294 GB, free: 12.5 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches