Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001817/0.001817, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2339/0.2339, allocations: 46.11 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 83.88 kB / 482.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4018, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003167/0.4051, allocations: 1.729 MB / 0.5334 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.4068, allocations: 1.027 MB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.259e-05/0.407, allocations: 0 / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.4073, allocations: 58.16 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.4077, allocations: 95.08 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.4079, allocations: 79.03 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.4081, allocations: 102 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.4082, allocations: 22.84 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.686e-05/0.4083, allocations: 40.3 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.4084, allocations: 33.41 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.4084, allocations: 4.125 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.4086, allocations: 43.47 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.4086, allocations: 28.3 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.4087, allocations: 41.25 kB / 0.535 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.409, allocations: 146.2 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.409, allocations: 0 / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.409, allocations: 4 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.409, allocations: 1.375 kB / 0.5351 GB, free: 11.04 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.0006441/0.4096, allocations: 449.6 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4097, allocations: 9.625 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.4098, allocations: 19.56 kB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.4101, allocations: 224.3 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4101, allocations: 5.75 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.4102, allocations: 5.5 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.4103, allocations: 65.97 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4103, allocations: 1.375 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4104, allocations: 3.984 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.4104, allocations: 1.375 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.4105, allocations: 13.62 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.4109, allocations: 300.3 kB / 0.5361 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.4111, allocations: 66.17 kB / 0.5362 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.4112, allocations: 22.09 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.4112, allocations: 1.125 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.4114, allocations: 64.8 kB / 0.5363 GB, free: 9.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4114, allocations: 0 / 0.5363 GB, free: 9.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006338/0.412, allocations: 189.9 kB / 0.5365 GB, free: 9.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.4121, allocations: 52.56 kB / 0.5365 GB, free: 9.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.4124, allocations: 280 kB / 0.5368 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.4124, allocations: 26.83 kB / 0.5368 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.4125, allocations: 116.1 kB / 0.5369 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.4126, allocations: 24.05 kB / 0.537 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.4126, allocations: 20.31 kB / 0.537 GB, free: 9.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4128, allocations: 336.5 kB / 0.5373 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.4129, allocations: 22.31 kB / 0.5373 GB, free: 8.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.413, allocations: 39.45 kB / 0.5374 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4131, allocations: 67.41 kB / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4131, allocations: 0 / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.4133, allocations: 109.1 kB / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4133, allocations: 5.938 kB / 0.5375 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4133, allocations: 4.031 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4134, allocations: 1.156 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/0.4135, allocations: 13.06 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4135, allocations: 1.188 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.4135, allocations: 10.3 kB / 0.5376 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.4135, allocations: 2.156 kB / 0.5376 GB, free: 8.789 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.0001425/0.4137, allocations: 138.9 kB / 0.5377 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.4137, allocations: 16.12 kB / 0.5377 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.4138, allocations: 24.52 kB / 0.5377 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4138, allocations: 9 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4138, allocations: 1.125 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4138, allocations: 3.938 kB / 0.5377 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.4143, allocations: 409.3 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4143, allocations: 1.188 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.4144, allocations: 7.875 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4144, allocations: 1.125 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4144, allocations: 5.031 kB / 0.5381 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.4144, allocations: 9.078 kB / 0.5382 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4144, allocations: 1.156 kB / 0.5382 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.4147, allocations: 210 kB / 0.5384 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.4147, allocations: 85.05 kB / 0.5384 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.4148, allocations: 5.375 kB / 0.5384 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.4148, allocations: 2.188 kB / 0.5384 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.4149, allocations: 15.52 kB / 0.5385 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.4149, allocations: 3.812 kB / 0.5385 GB, free: 7.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.4152, allocations: 215.6 kB / 0.5387 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4152, allocations: 1.219 kB / 0.5387 GB, free: 7.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.4154, allocations: 29.28 kB / 0.5387 GB, free: 7.781 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.001161/0.4166, allocations: 471.9 kB / 0.5391 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.4168, allocations: 62 kB / 0.5392 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4168, allocations: 1.25 kB / 0.5392 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.4169, allocations: 25.05 kB / 0.5392 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.0003491/0.4173, allocations: 36.31 kB / 0.5393 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006736/0.4179, allocations: 337.5 kB / 0.5396 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.4184, allocations: 0.7179 MB / 0.5403 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.4184, allocations: 19.42 kB / 0.5403 GB, free: 6.512 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4184, allocations: 1.031 kB / 0.5403 GB, free: 6.512 MB / 398.1 MB Notification: Performance of Templates: time 0.004752/0.4232, allocations: 2.134 MB / 0.5424 GB, free: 5.402 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches