Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 72.11 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4085, allocations: 62.44 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003325/0.4119, allocations: 1.752 MB / 0.5335 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.4137, allocations: 1.024 MB / 0.5345 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.4138, allocations: 0 / 0.5345 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.4142, allocations: 111.7 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.4146, allocations: 128.9 kB / 0.5347 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.4148, allocations: 78.92 kB / 0.5348 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.415, allocations: 125.3 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.4151, allocations: 19.98 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.4152, allocations: 59.64 kB / 0.535 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.4154, allocations: 59.91 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.4154, allocations: 4.656 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.4156, allocations: 66.19 kB / 0.5351 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.4156, allocations: 25.95 kB / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/0.4157, allocations: 46.08 kB / 0.5352 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.416, allocations: 147.5 kB / 0.5353 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.416, allocations: 5.312 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.416, allocations: 0 / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.416, allocations: 0 / 0.5353 GB, free: 10.95 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006373/0.4167, allocations: 449.5 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4167, allocations: 10.41 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.4168, allocations: 14.56 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.4171, allocations: 222.6 kB / 0.536 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4171, allocations: 2.719 kB / 0.536 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.4172, allocations: 6.469 kB / 0.536 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.4173, allocations: 65 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4173, allocations: 0 / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.4174, allocations: 5.062 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4174, allocations: 1.125 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.4175, allocations: 24.33 kB / 0.5361 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.4179, allocations: 306.4 kB / 0.5364 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.4182, allocations: 65.36 kB / 0.5364 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/0.4183, allocations: 22.16 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.4183, allocations: 2.25 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.4185, allocations: 73.52 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.4185, allocations: 0 / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008065/0.4193, allocations: 252.6 kB / 0.5368 GB, free: 9.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.4193, allocations: 56.47 kB / 0.5368 GB, free: 9.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.4196, allocations: 255.8 kB / 0.5371 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.4197, allocations: 30.91 kB / 0.5371 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.4197, allocations: 110.9 kB / 0.5372 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.4198, allocations: 33.14 kB / 0.5372 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.4198, allocations: 30.58 kB / 0.5372 GB, free: 9.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.42, allocations: 327 kB / 0.5376 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.4201, allocations: 31.27 kB / 0.5376 GB, free: 8.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.733e-05/0.4201, allocations: 47.14 kB / 0.5376 GB, free: 8.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.4203, allocations: 84.66 kB / 0.5377 GB, free: 8.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4203, allocations: 0 / 0.5377 GB, free: 8.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002369/0.4206, allocations: 130.7 kB / 0.5378 GB, free: 8.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4206, allocations: 9.219 kB / 0.5378 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4206, allocations: 5.469 kB / 0.5379 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4206, allocations: 0 / 0.5379 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.4207, allocations: 21.77 kB / 0.5379 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.4207, allocations: 5.188 kB / 0.5379 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.4208, allocations: 2.688 kB / 0.5379 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.4208, allocations: 11.25 kB / 0.5379 GB, free: 8.629 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 (13): * Single equations (assignments): 13 * 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.0001322/0.4209, allocations: 136.5 kB / 0.538 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.421, allocations: 18.84 kB / 0.538 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.421, allocations: 20.48 kB / 0.5381 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4211, allocations: 5.562 kB / 0.5381 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.4211, allocations: 5.344 kB / 0.5381 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4211, allocations: 0 / 0.5381 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.4216, allocations: 455.7 kB / 0.5385 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4217, allocations: 1.062 kB / 0.5385 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.4217, allocations: 16.08 kB / 0.5385 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4217, allocations: 1.031 kB / 0.5385 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.4217, allocations: 11.22 kB / 0.5385 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4217, allocations: 1.125 kB / 0.5385 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4218, allocations: 1.062 kB / 0.5385 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.4221, allocations: 238.5 kB / 0.5388 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.4221, allocations: 93.09 kB / 0.5389 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.4222, allocations: 10.28 kB / 0.5389 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.4222, allocations: 2.562 kB / 0.5389 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.4223, allocations: 8.109 kB / 0.5389 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.4223, allocations: 4.562 kB / 0.5389 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.4225, allocations: 190.2 kB / 0.5391 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4225, allocations: 0 / 0.5391 GB, free: 7.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.4228, allocations: 32.89 kB / 0.5391 GB, free: 7.578 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 (11): * Single equations (assignments): 9 * 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.001239/0.4241, allocations: 0.4999 MB / 0.5396 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.4243, allocations: 81.44 kB / 0.5397 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4243, allocations: 0 / 0.5397 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.4244, allocations: 40.02 kB / 0.5397 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.4248, allocations: 46.75 kB / 0.5397 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.4254, allocations: 336.4 kB / 0.5401 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.4258, allocations: 0.7142 MB / 0.5408 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.4258, allocations: 25.48 kB / 0.5408 GB, free: 6.266 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4258, allocations: 0 / 0.5408 GB, free: 6.266 MB / 398.1 MB Notification: Performance of Templates: time 0.004893/0.4307, allocations: 2.309 MB / 0.543 GB, free: 5.07 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches