Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 113.8 kB / 17.78 MB, free: 5.305 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.001118/0.001118, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.484/1.484, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2241/0.2241, allocations: 44.19 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.442, allocations: 60.82 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003045/0.4451, allocations: 1.927 MB / 0.5208 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.4465, allocations: 0.9212 MB / 0.5217 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.689e-05/0.4466, allocations: 0.9375 kB / 0.5217 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.447, allocations: 47.31 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.4472, allocations: 62.53 kB / 0.5218 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.4475, allocations: 121.9 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.4478, allocations: 139.3 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4479, allocations: 29.12 kB / 0.5221 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.448, allocations: 57.86 kB / 0.5222 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.559e-05/0.4481, allocations: 49.27 kB / 0.5222 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.4481, allocations: 6.531 kB / 0.5222 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.4482, allocations: 44.75 kB / 0.5223 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.4483, allocations: 27.47 kB / 0.5223 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.4484, allocations: 49.81 kB / 0.5223 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.4487, allocations: 154 kB / 0.5225 GB, free: 1.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4487, allocations: 0 / 0.5225 GB, free: 1.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4487, allocations: 1.766 kB / 0.5225 GB, free: 1.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4487, allocations: 4 kB / 0.5225 GB, free: 1.242 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000663/0.4494, allocations: 477.9 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4494, allocations: 13.62 kB / 0.523 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.4495, allocations: 15.16 kB / 0.523 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.4498, allocations: 229.4 kB / 0.5232 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4498, allocations: 4.188 kB / 0.5232 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.4498, allocations: 13.38 kB / 0.5232 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.4501, allocations: 109.3 kB / 0.5233 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4501, allocations: 3.938 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.4501, allocations: 1.969 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4501, allocations: 2.469 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.4503, allocations: 50.92 kB / 0.5234 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.4509, allocations: 0.5008 MB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.4512, allocations: 86.27 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.4514, allocations: 41.78 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.4514, allocations: 1.375 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.4516, allocations: 81.7 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.4516, allocations: 0 / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004215/0.452, allocations: 144.5 kB / 0.5242 GB, free: 15.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4521, allocations: 56.05 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.4523, allocations: 194.9 kB / 0.5244 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4524, allocations: 30.83 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.4525, allocations: 111.2 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.4525, allocations: 39.33 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.4526, allocations: 24.44 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4527, allocations: 327 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-05/0.4528, allocations: 29.81 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.453, allocations: 66.27 kB / 0.525 GB, free: 15.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.4532, allocations: 100.4 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4532, allocations: 0.6875 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002974/0.4535, allocations: 137.2 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4535, allocations: 8.188 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4535, allocations: 1.984 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4536, allocations: 2.875 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4537, allocations: 33.89 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4537, allocations: 1.578 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.4538, allocations: 14.78 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.4538, allocations: 3.781 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001118/0.4539, allocations: 136.6 kB / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.4539, allocations: 15.64 kB / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.454, allocations: 18.91 kB / 0.5255 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.454, allocations: 5.156 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.454, allocations: 5.312 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.454, allocations: 1.172 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.4542, allocations: 205.7 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4542, allocations: 0 / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.4543, allocations: 17.45 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4543, allocations: 0 / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.4544, allocations: 2.328 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.4544, allocations: 3.938 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4544, allocations: 0.5625 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.4548, allocations: 182.4 kB / 0.5259 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.4548, allocations: 89.73 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.4549, allocations: 2.625 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.446e-05/0.4549, allocations: 13.53 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.455, allocations: 5.422 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.455, allocations: 3.484 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.4551, allocations: 139.5 kB / 0.5261 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4551, allocations: 3.938 kB / 0.5261 GB, free: 14.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000233/0.4554, allocations: 29.11 kB / 0.5262 GB, free: 14.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009446/0.4563, allocations: 416.3 kB / 0.5266 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.4566, allocations: 77.73 kB / 0.5266 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4566, allocations: 192 / 0.5266 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.4567, allocations: 42.61 kB / 0.5267 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.4571, allocations: 40.69 kB / 0.5267 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.4577, allocations: 251.8 kB / 0.527 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.458, allocations: 0.7176 MB / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.567e-05/0.4581, allocations: 24.55 kB / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.4581, allocations: 17 kB / 0.5277 GB, free: 13 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4581, allocations: 0 / 0.5277 GB, free: 13 MB / 398.1 MB Notification: Performance of Templates: time 0.005423/0.4635, allocations: 1.898 MB / 0.5296 GB, free: 12.23 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches