Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001534, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 76.09 kB / 481.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4202, allocations: 62.45 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00384/0.4241, allocations: 1.762 MB / 0.5328 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.426, allocations: 1.039 MB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.4262, allocations: 1.375 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.4266, allocations: 102.4 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.4271, allocations: 132.9 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.4273, allocations: 84.28 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.4276, allocations: 138.8 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.4277, allocations: 16.41 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.4278, allocations: 65.88 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.428, allocations: 74.11 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.428, allocations: 9.438 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.4281, allocations: 60.02 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.132e-05/0.4282, allocations: 31.59 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.181e-05/0.4283, allocations: 50.77 kB / 0.5346 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.4286, allocations: 160.5 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4286, allocations: 0 / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4286, allocations: 0 / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4287, allocations: 1.281 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007188/0.4294, allocations: 465.2 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4294, allocations: 9.312 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.4295, allocations: 19.84 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.4298, allocations: 234.2 kB / 0.5354 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.4299, allocations: 6.656 kB / 0.5354 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.4299, allocations: 7.969 kB / 0.5354 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.4301, allocations: 70.62 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4301, allocations: 0 / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4301, allocations: 5.125 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4301, allocations: 5.062 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.4303, allocations: 36.12 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.4307, allocations: 330.2 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.431, allocations: 79.23 kB / 0.5359 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.859e-05/0.4311, allocations: 33.22 kB / 0.536 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.4311, allocations: 1.188 kB / 0.536 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.4313, allocations: 69.8 kB / 0.536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.4313, allocations: 0 / 0.536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000928/0.4322, allocations: 310.8 kB / 0.5363 GB, free: 9.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4323, allocations: 54.03 kB / 0.5364 GB, free: 9.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.4326, allocations: 258.2 kB / 0.5366 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4326, allocations: 31.97 kB / 0.5367 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.4327, allocations: 119.6 kB / 0.5368 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.4327, allocations: 50.53 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.4328, allocations: 32.52 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4329, allocations: 328.2 kB / 0.5372 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.433, allocations: 35.89 kB / 0.5372 GB, free: 8.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.4332, allocations: 61.16 kB / 0.5373 GB, free: 8.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.4334, allocations: 102.8 kB / 0.5373 GB, free: 8.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4334, allocations: 1.469 kB / 0.5373 GB, free: 8.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002977/0.4337, allocations: 164.6 kB / 0.5375 GB, free: 8.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4337, allocations: 5.531 kB / 0.5375 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4337, allocations: 4 kB / 0.5375 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4337, allocations: 6.156 kB / 0.5375 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.4338, allocations: 29.67 kB / 0.5375 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4339, allocations: 5.094 kB / 0.5376 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.4339, allocations: 2.219 kB / 0.5376 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4339, allocations: 4.156 kB / 0.5376 GB, free: 8.398 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 (16): * Single equations (assignments): 16 * 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.0001384/0.4341, allocations: 144.4 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.4341, allocations: 18.95 kB / 0.5377 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.426e-05/0.4342, allocations: 22.66 kB / 0.5377 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4342, allocations: 6.25 kB / 0.5377 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4342, allocations: 0 / 0.5377 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.4342, allocations: 9.172 kB / 0.5378 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006377/0.4349, allocations: 0.496 MB / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4349, allocations: 1.062 kB / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.4349, allocations: 27.98 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.435, allocations: 1.156 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.435, allocations: 3.156 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.435, allocations: 1.125 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.435, allocations: 1.156 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.4353, allocations: 264.5 kB / 0.5385 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.4354, allocations: 88.52 kB / 0.5386 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.4354, allocations: 7.719 kB / 0.5386 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.4355, allocations: 5.297 kB / 0.5386 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.4355, allocations: 14.73 kB / 0.5386 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.4356, allocations: 8.469 kB / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002294/0.4358, allocations: 192.4 kB / 0.5388 GB, free: 7.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4358, allocations: 1.125 kB / 0.5388 GB, free: 7.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.4361, allocations: 40.08 kB / 0.5389 GB, free: 7.297 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001401/0.4375, allocations: 0.4986 MB / 0.5394 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.4379, allocations: 116.1 kB / 0.5395 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4379, allocations: 0 / 0.5395 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.438, allocations: 51.02 kB / 0.5395 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.4384, allocations: 32.98 kB / 0.5395 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007808/0.4392, allocations: 326.2 kB / 0.5399 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.4397, allocations: 0.7341 MB / 0.5406 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.029e-05/0.4398, allocations: 23.88 kB / 0.5406 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.4398, allocations: 19.91 kB / 0.5406 GB, free: 5.977 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4398, allocations: 0 / 0.5406 GB, free: 5.977 MB / 398.1 MB Notification: Performance of Templates: time 0.005652/0.4455, allocations: 2.211 MB / 0.5428 GB, free: 4.871 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches