Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 109.5 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.001082/0.001082, allocations: 188.8 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2219/0.2219, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.42, allocations: 60.82 MB / 0.519 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002919/0.423, allocations: 1.706 MB / 0.5207 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.4243, allocations: 0.8677 MB / 0.5215 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.4244, allocations: 1.469 kB / 0.5215 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.4247, allocations: 43.09 kB / 0.5215 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.425, allocations: 55.2 kB / 0.5216 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.4253, allocations: 108.6 kB / 0.5217 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.4255, allocations: 97.3 kB / 0.5218 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.4256, allocations: 7.047 kB / 0.5218 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.094e-05/0.4257, allocations: 49.27 kB / 0.5218 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.794e-05/0.4258, allocations: 30.98 kB / 0.5219 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.4258, allocations: 3.25 kB / 0.5219 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.4259, allocations: 38.91 kB / 0.5219 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.426, allocations: 26.47 kB / 0.5219 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.4261, allocations: 36.41 kB / 0.522 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.4263, allocations: 110 kB / 0.5221 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4263, allocations: 3.938 kB / 0.5221 GB, free: 1.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4263, allocations: 1.281 kB / 0.5221 GB, free: 1.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.4263, allocations: 0 / 0.5221 GB, free: 1.801 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.0004966/0.4268, allocations: 411 kB / 0.5225 GB, free: 1.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4269, allocations: 9.359 kB / 0.5225 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.4269, allocations: 10.16 kB / 0.5225 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.4271, allocations: 202.3 kB / 0.5227 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4272, allocations: 1.562 kB / 0.5227 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.4272, allocations: 11.2 kB / 0.5227 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.4273, allocations: 57.58 kB / 0.5228 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4273, allocations: 9.219 kB / 0.5228 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4274, allocations: 4.703 kB / 0.5228 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.4274, allocations: 5.312 kB / 0.5228 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.4275, allocations: 18.11 kB / 0.5228 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.4278, allocations: 285.4 kB / 0.5231 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.4279, allocations: 60.41 kB / 0.5231 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.428, allocations: 24.7 kB / 0.5231 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.428, allocations: 1.906 kB / 0.5231 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.4282, allocations: 65.19 kB / 0.5232 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4282, allocations: 0 / 0.5232 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005331/0.4287, allocations: 172.4 kB / 0.5234 GB, free: 0.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.4288, allocations: 57.53 kB / 0.5234 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.4289, allocations: 190.1 kB / 0.5236 GB, free: 436 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4289, allocations: 27.3 kB / 0.5236 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.429, allocations: 99.53 kB / 0.5237 GB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.429, allocations: 26.28 kB / 0.5238 GB, free: 288 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.4291, allocations: 25 kB / 0.5238 GB, free: 264 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.4291, allocations: 327.3 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.4292, allocations: 20.52 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.4293, allocations: 39.16 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.4294, allocations: 66.34 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4294, allocations: 0 / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.4296, allocations: 100.8 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4296, allocations: 5.797 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4297, allocations: 1.031 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.4297, allocations: 1.797 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.4298, allocations: 15.03 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4298, allocations: 5.031 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.4299, allocations: 11.47 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.4299, allocations: 3.656 kB / 0.5243 GB, free: 15.79 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.0001231/0.43, allocations: 132.5 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.43, allocations: 14.12 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.4301, allocations: 14.86 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4301, allocations: 1.094 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4301, allocations: 1.5 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4301, allocations: 4.641 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.4306, allocations: 393.6 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4306, allocations: 8.5 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.4307, allocations: 10.64 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4307, allocations: 0 / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.4307, allocations: 6.734 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4307, allocations: 1.906 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4307, allocations: 0 / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.431, allocations: 207.9 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.431, allocations: 85.09 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.4311, allocations: 7.469 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.4311, allocations: 1.984 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.4312, allocations: 10.44 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.4312, allocations: 3.266 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.4313, allocations: 144.1 kB / 0.5253 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4314, allocations: 4 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.4316, allocations: 22.17 kB / 0.5254 GB, free: 14.9 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.001154/0.4328, allocations: 465 kB / 0.5258 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.433, allocations: 67.44 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.433, allocations: 3.938 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.4331, allocations: 32.5 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.4335, allocations: 27.61 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.434, allocations: 215 kB / 0.5261 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.4343, allocations: 0.713 MB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.121e-05/0.4344, allocations: 11.77 kB / 0.5269 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.4344, allocations: 17.05 kB / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4344, allocations: 0 / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Performance of Templates: time 0.005142/0.4396, allocations: 1.738 MB / 0.5286 GB, free: 13.18 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches