Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001146, allocations: 117.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.001972/0.001972, allocations: 204.6 kB / 18.74 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.526/1.526, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2669/0.2669, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 79.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4076, allocations: 62.43 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003415/0.4111, allocations: 1.742 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.4135, allocations: 1.018 MB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.4137, allocations: 1.031 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005362/0.4142, allocations: 77.58 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.4147, allocations: 122.8 kB / 0.534 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.415, allocations: 83.81 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.4153, allocations: 108.8 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.4154, allocations: 14.59 kB / 0.5342 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.4156, allocations: 54.19 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.4157, allocations: 60.19 kB / 0.5343 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.4157, allocations: 4.125 kB / 0.5343 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.4158, allocations: 47.48 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.4159, allocations: 28.09 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.416, allocations: 37.38 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.4163, allocations: 127.4 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4163, allocations: 0 / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4163, allocations: 1.375 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.4163, allocations: 0 / 0.5345 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.0007613/0.4171, allocations: 420.3 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.4171, allocations: 9.625 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.4172, allocations: 18.25 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.4176, allocations: 221.8 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.4176, allocations: 1.75 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.4177, allocations: 6.875 kB / 0.5352 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.4179, allocations: 54.05 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4179, allocations: 0 / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.4179, allocations: 0 / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.4179, allocations: 1.375 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.133e-05/0.418, allocations: 18.98 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.4185, allocations: 296.2 kB / 0.5355 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.4188, allocations: 56.91 kB / 0.5356 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.4189, allocations: 22.5 kB / 0.5356 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.4189, allocations: 1.219 kB / 0.5356 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.4191, allocations: 68.3 kB / 0.5356 GB, free: 9.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.4191, allocations: 0.9688 kB / 0.5356 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006545/0.4198, allocations: 174.5 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.4198, allocations: 52.5 kB / 0.5359 GB, free: 9.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.4201, allocations: 226.4 kB / 0.5361 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.4201, allocations: 26.77 kB / 0.5361 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.4202, allocations: 114 kB / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.4203, allocations: 27.62 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.4203, allocations: 24.58 kB / 0.5363 GB, free: 9.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4205, allocations: 330.3 kB / 0.5366 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.4205, allocations: 19.69 kB / 0.5366 GB, free: 8.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.4206, allocations: 35.3 kB / 0.5366 GB, free: 8.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.4208, allocations: 63.55 kB / 0.5367 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4208, allocations: 4 kB / 0.5367 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002089/0.4211, allocations: 103.3 kB / 0.5368 GB, free: 8.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4211, allocations: 5.844 kB / 0.5368 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4211, allocations: 3.984 kB / 0.5368 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4211, allocations: 2.312 kB / 0.5368 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4212, allocations: 12.44 kB / 0.5368 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4213, allocations: 9 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.4213, allocations: 14.33 kB / 0.5368 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.4213, allocations: 2.094 kB / 0.5368 GB, free: 8.824 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.000122/0.4215, allocations: 125.1 kB / 0.537 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.4215, allocations: 14.64 kB / 0.537 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.4216, allocations: 18.84 kB / 0.537 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4216, allocations: 2.031 kB / 0.537 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4216, allocations: 0 / 0.537 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4216, allocations: 3.938 kB / 0.537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.4221, allocations: 401.2 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4221, allocations: 4.031 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.4221, allocations: 7.594 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4222, allocations: 0.9688 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4222, allocations: 10.23 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4222, allocations: 1.156 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4222, allocations: 0 / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.4225, allocations: 205.3 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.4225, allocations: 92.3 kB / 0.5377 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.4226, allocations: 5.312 kB / 0.5377 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.4226, allocations: 6.656 kB / 0.5377 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.4227, allocations: 7.859 kB / 0.5377 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.4227, allocations: 3.312 kB / 0.5377 GB, free: 7.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.4229, allocations: 168.5 kB / 0.5379 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4229, allocations: 0 / 0.5379 GB, free: 7.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.4232, allocations: 25.12 kB / 0.5379 GB, free: 7.859 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.001131/0.4243, allocations: 459.9 kB / 0.5383 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.4245, allocations: 62.72 kB / 0.5384 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4246, allocations: 0 / 0.5384 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.697e-05/0.4247, allocations: 37.52 kB / 0.5384 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.425, allocations: 32.58 kB / 0.5385 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.4256, allocations: 251 kB / 0.5387 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.426, allocations: 0.7091 MB / 0.5394 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.045e-05/0.4261, allocations: 18.34 kB / 0.5394 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.4261, allocations: 23.3 kB / 0.5394 GB, free: 6.629 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4261, allocations: 0 / 0.5394 GB, free: 6.629 MB / 398.1 MB Notification: Performance of Templates: time 0.005607/0.4317, allocations: 1.741 MB / 0.5411 GB, free: 5.754 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches