Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2533/0.2533, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.89 kB / 481.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4231, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003737/0.4268, allocations: 1.732 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.4294, allocations: 1.023 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.4295, allocations: 1.062 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.43, allocations: 48.59 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.4305, allocations: 102.1 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.4308, allocations: 84.12 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.4311, allocations: 101.1 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.4312, allocations: 14.84 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.4314, allocations: 44.28 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.4315, allocations: 33.42 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.4315, allocations: 4.125 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.4317, allocations: 43.42 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.604e-05/0.4318, allocations: 30.89 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.188e-05/0.4319, allocations: 49.25 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.4322, allocations: 136.8 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4322, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4322, allocations: 1.375 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.4322, allocations: 0 / 0.5344 GB, free: 11.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007319/0.433, allocations: 445.7 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.433, allocations: 9.625 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.4331, allocations: 15.62 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.4335, allocations: 224.1 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.4336, allocations: 9.75 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.4336, allocations: 5.5 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.4338, allocations: 54.05 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4339, allocations: 1.375 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.4339, allocations: 3.938 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4339, allocations: 1.375 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.385e-05/0.434, allocations: 17.61 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.4344, allocations: 304.3 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4346, allocations: 53.94 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.4347, allocations: 21.19 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.4347, allocations: 1 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.4349, allocations: 73.23 kB / 0.5356 GB, free: 9.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.4349, allocations: 4 kB / 0.5356 GB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005877/0.4355, allocations: 180.6 kB / 0.5358 GB, free: 9.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.4356, allocations: 56.47 kB / 0.5358 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.4359, allocations: 272.4 kB / 0.5361 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4359, allocations: 31.02 kB / 0.5361 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.436, allocations: 110.6 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.436, allocations: 27.73 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.436, allocations: 24.44 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4362, allocations: 336.3 kB / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/0.4362, allocations: 14.19 kB / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.4363, allocations: 36.17 kB / 0.5367 GB, free: 8.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.4364, allocations: 62.83 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4365, allocations: 0 / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.4366, allocations: 109 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.4367, allocations: 5.625 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4367, allocations: 1.375 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4367, allocations: 1.125 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.4368, allocations: 24.38 kB / 0.5369 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4368, allocations: 1.094 kB / 0.5369 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.4369, allocations: 10.11 kB / 0.5369 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.4369, allocations: 2.312 kB / 0.5369 GB, free: 8.77 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.0001167/0.437, allocations: 138.5 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.437, allocations: 14.88 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.4371, allocations: 17.31 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4371, allocations: 3.984 kB / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4371, allocations: 1.156 kB / 0.537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4371, allocations: 3.938 kB / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.4376, allocations: 412.8 kB / 0.5374 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4376, allocations: 0 / 0.5374 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.4377, allocations: 12.39 kB / 0.5374 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4377, allocations: 5.156 kB / 0.5375 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4377, allocations: 9 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4377, allocations: 1.188 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4377, allocations: 5 kB / 0.5375 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.4379, allocations: 198.1 kB / 0.5377 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.438, allocations: 88.19 kB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.438, allocations: 14.41 kB / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.4381, allocations: 2.25 kB / 0.5378 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.4382, allocations: 10.52 kB / 0.5378 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.4382, allocations: 3.812 kB / 0.5378 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.4384, allocations: 203.8 kB / 0.538 GB, free: 7.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4384, allocations: 0 / 0.538 GB, free: 7.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.4387, allocations: 25.14 kB / 0.538 GB, free: 7.777 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.001128/0.4399, allocations: 469 kB / 0.5384 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.4401, allocations: 57.53 kB / 0.5385 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4401, allocations: 1.312 kB / 0.5385 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.4402, allocations: 25.16 kB / 0.5385 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.4406, allocations: 43.33 kB / 0.5386 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.4412, allocations: 284.5 kB / 0.5388 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.4416, allocations: 0.7133 MB / 0.5395 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.4417, allocations: 18.28 kB / 0.5395 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.4417, allocations: 19.5 kB / 0.5396 GB, free: 6.547 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4417, allocations: 0 / 0.5396 GB, free: 6.547 MB / 398.1 MB Notification: Performance of Templates: time 0.00502/0.4468, allocations: 1.777 MB / 0.5413 GB, free: 5.648 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches