Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 111.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 217.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001567, allocations: 79.88 kB / 482.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4188, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003567/0.4224, allocations: 1.935 MB / 0.5336 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.4242, allocations: 1.051 MB / 0.5346 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.4243, allocations: 5.312 kB / 0.5346 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.4247, allocations: 45.33 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.4251, allocations: 103 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.4253, allocations: 93.7 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.4255, allocations: 154.6 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.4257, allocations: 17.94 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.4258, allocations: 64.98 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.4259, allocations: 53.89 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.426, allocations: 6.375 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.4261, allocations: 50.84 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.4262, allocations: 23.48 kB / 0.5352 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.4262, allocations: 54.8 kB / 0.5353 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.4265, allocations: 145 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4265, allocations: 0.8438 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4265, allocations: 0 / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.4265, allocations: 0 / 0.5354 GB, free: 10.72 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007257/0.4273, allocations: 495.8 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4273, allocations: 8.906 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.4274, allocations: 16.72 kB / 0.5359 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.4277, allocations: 240.1 kB / 0.5361 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4278, allocations: 3.906 kB / 0.5361 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.4278, allocations: 16.66 kB / 0.5362 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.4281, allocations: 105.5 kB / 0.5363 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4281, allocations: 5.031 kB / 0.5363 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.4281, allocations: 5.062 kB / 0.5363 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.4281, allocations: 1.219 kB / 0.5363 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.4283, allocations: 42.59 kB / 0.5363 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.429, allocations: 0.5159 MB / 0.5368 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.4293, allocations: 83.86 kB / 0.5369 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.4295, allocations: 40.11 kB / 0.5369 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.4295, allocations: 9.281 kB / 0.5369 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.4297, allocations: 81.53 kB / 0.537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.4297, allocations: 0 / 0.537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004254/0.4301, allocations: 143.4 kB / 0.5372 GB, free: 9.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.4302, allocations: 56.31 kB / 0.5372 GB, free: 9.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.4304, allocations: 203.8 kB / 0.5374 GB, free: 8.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.4304, allocations: 30.8 kB / 0.5374 GB, free: 8.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.4305, allocations: 114.7 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.4306, allocations: 31.64 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.4306, allocations: 30.14 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4308, allocations: 331.4 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.4309, allocations: 27.58 kB / 0.538 GB, free: 8.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.431, allocations: 72.27 kB / 0.538 GB, free: 8.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.4312, allocations: 97.11 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4312, allocations: 4 kB / 0.5381 GB, free: 8.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002847/0.4315, allocations: 134.4 kB / 0.5382 GB, free: 8.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4315, allocations: 5.375 kB / 0.5382 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4315, allocations: 1.031 kB / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4315, allocations: 2.312 kB / 0.5383 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.4317, allocations: 38.36 kB / 0.5383 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4317, allocations: 2.531 kB / 0.5383 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/0.4318, allocations: 9.25 kB / 0.5383 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4318, allocations: 3.719 kB / 0.5383 GB, free: 8.078 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.0001159/0.4319, allocations: 134.6 kB / 0.5384 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.4319, allocations: 14.38 kB / 0.5384 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.432, allocations: 19.38 kB / 0.5385 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.432, allocations: 3.938 kB / 0.5385 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.432, allocations: 5.453 kB / 0.5385 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.432, allocations: 0 / 0.5385 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.4322, allocations: 210.5 kB / 0.5387 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4322, allocations: 4 kB / 0.5387 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.4323, allocations: 13.75 kB / 0.5387 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.4323, allocations: 5.016 kB / 0.5387 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4323, allocations: 0.9688 kB / 0.5387 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4324, allocations: 3.938 kB / 0.5387 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4324, allocations: 5.062 kB / 0.5387 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.4328, allocations: 176.6 kB / 0.5389 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.4328, allocations: 93.31 kB / 0.539 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.4328, allocations: 8.984 kB / 0.539 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.155e-05/0.4329, allocations: 8.344 kB / 0.539 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.433, allocations: 7.453 kB / 0.539 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.433, allocations: 3.312 kB / 0.539 GB, free: 7.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.4331, allocations: 144.7 kB / 0.5391 GB, free: 7.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4331, allocations: 1.188 kB / 0.5391 GB, free: 7.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.4334, allocations: 22.88 kB / 0.5392 GB, free: 7.312 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.0009935/0.4344, allocations: 420.2 kB / 0.5396 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.4346, allocations: 83.64 kB / 0.5396 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4347, allocations: 0 / 0.5396 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4348, allocations: 34.95 kB / 0.5397 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.4351, allocations: 52.84 kB / 0.5397 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.4356, allocations: 296.9 kB / 0.54 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.4359, allocations: 0.7162 MB / 0.5407 GB, free: 6.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.436, allocations: 16.41 kB / 0.5407 GB, free: 6.051 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.436, allocations: 0 / 0.5407 GB, free: 6.051 MB / 398.1 MB Notification: Performance of Templates: time 0.004489/0.4405, allocations: 2.215 MB / 0.5429 GB, free: 4.906 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches