Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001682/0.001683, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 72.11 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4129, allocations: 62.44 MB / 0.5318 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003373/0.4163, allocations: 1.926 MB / 0.5336 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.4183, allocations: 1.122 MB / 0.5347 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.4184, allocations: 1.375 kB / 0.5347 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.4189, allocations: 160.3 kB / 0.5349 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.4193, allocations: 185.1 kB / 0.5351 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.4196, allocations: 116.5 kB / 0.5352 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.42, allocations: 242.7 kB / 0.5354 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.4201, allocations: 40.45 kB / 0.5354 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.4203, allocations: 111.4 kB / 0.5356 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.4205, allocations: 131.9 kB / 0.5357 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.4205, allocations: 8.125 kB / 0.5357 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.4207, allocations: 70.97 kB / 0.5358 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.4208, allocations: 49.88 kB / 0.5358 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.4209, allocations: 90.31 kB / 0.5359 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.4212, allocations: 225.5 kB / 0.5361 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4212, allocations: 1.125 kB / 0.5361 GB, free: 10.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4212, allocations: 0 / 0.5361 GB, free: 10.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.4212, allocations: 0 / 0.5361 GB, free: 10.57 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007104/0.4219, allocations: 0.5279 MB / 0.5366 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.422, allocations: 9.531 kB / 0.5366 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.4221, allocations: 32.06 kB / 0.5367 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.4224, allocations: 283.8 kB / 0.5369 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.4225, allocations: 3.906 kB / 0.5369 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.4225, allocations: 12.31 kB / 0.5369 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.4228, allocations: 104.3 kB / 0.537 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.4228, allocations: 9.688 kB / 0.5371 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.4228, allocations: 3.984 kB / 0.5371 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4228, allocations: 1.875 kB / 0.5371 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.423, allocations: 48.78 kB / 0.5371 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.4235, allocations: 466.4 kB / 0.5376 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.4239, allocations: 118.5 kB / 0.5377 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.424, allocations: 52.38 kB / 0.5377 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.4241, allocations: 2.688 kB / 0.5377 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.4243, allocations: 116.7 kB / 0.5378 GB, free: 8.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.4243, allocations: 4 kB / 0.5378 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001327/0.4256, allocations: 499.5 kB / 0.5383 GB, free: 8.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.4257, allocations: 83.45 kB / 0.5384 GB, free: 8.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.4261, allocations: 373.6 kB / 0.5387 GB, free: 8.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.4262, allocations: 31.48 kB / 0.5388 GB, free: 8.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4263, allocations: 145.2 kB / 0.5389 GB, free: 8.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.671e-05/0.4263, allocations: 73.28 kB / 0.539 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.4264, allocations: 42.33 kB / 0.539 GB, free: 8.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4266, allocations: 338.6 kB / 0.5393 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.4267, allocations: 58.78 kB / 0.5394 GB, free: 7.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.4269, allocations: 94.53 kB / 0.5395 GB, free: 7.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.4271, allocations: 164.9 kB / 0.5396 GB, free: 7.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4272, allocations: 5.125 kB / 0.5397 GB, free: 7.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003985/0.4276, allocations: 229.6 kB / 0.5399 GB, free: 7.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4276, allocations: 8.219 kB / 0.5399 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4276, allocations: 1.641 kB / 0.5399 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4276, allocations: 6.844 kB / 0.5399 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.4278, allocations: 50.12 kB / 0.5399 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4278, allocations: 5.172 kB / 0.5399 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/0.4279, allocations: 4.344 kB / 0.5399 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.4279, allocations: 15.25 kB / 0.54 GB, free: 7.418 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001672/0.4281, allocations: 162.2 kB / 0.5401 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.4282, allocations: 33.81 kB / 0.5401 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.4282, allocations: 35.7 kB / 0.5402 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.4282, allocations: 2.844 kB / 0.5402 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4283, allocations: 4 kB / 0.5402 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.4283, allocations: 1.469 kB / 0.5402 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009353/0.4292, allocations: 0.7218 MB / 0.5409 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.4292, allocations: 1.156 kB / 0.5409 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/0.4293, allocations: 35.33 kB / 0.5409 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4293, allocations: 6.844 kB / 0.5409 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.4294, allocations: 4.406 kB / 0.5409 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4294, allocations: 2.312 kB / 0.5409 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4294, allocations: 1.25 kB / 0.5409 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.4299, allocations: 425.7 kB / 0.5413 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.43, allocations: 100.5 kB / 0.5414 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.43, allocations: 4.375 kB / 0.5414 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.4302, allocations: 12.42 kB / 0.5415 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.4302, allocations: 21.77 kB / 0.5415 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.4303, allocations: 15.92 kB / 0.5415 GB, free: 6.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002946/0.4306, allocations: 283.7 kB / 0.5418 GB, free: 5.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4306, allocations: 0 / 0.5418 GB, free: 5.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.431, allocations: 47.75 kB / 0.5418 GB, free: 5.945 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001274/0.4322, allocations: 0.4992 MB / 0.5423 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003866/0.4326, allocations: 162.8 kB / 0.5425 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4327, allocations: 4.125 kB / 0.5425 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.4328, allocations: 79.09 kB / 0.5425 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.4334, allocations: 62.3 kB / 0.5426 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.4344, allocations: 0.5327 MB / 0.5431 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.4348, allocations: 0.7595 MB / 0.5439 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.4349, allocations: 35.33 kB / 0.5439 GB, free: 4.422 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4349, allocations: 0 / 0.5439 GB, free: 4.422 MB / 398.1 MB Notification: Performance of Templates: time 0.00633/0.4412, allocations: 3.619 MB / 0.5474 GB, free: 1.504 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches