Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 118.8 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.001454/0.001454, allocations: 201.2 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.454/1.454, allocations: 227.4 MB / 246.9 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.2358/0.2358, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 80.2 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4804, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00361/0.4841, allocations: 1.844 MB / 0.5328 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.4861, allocations: 1.095 MB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/0.4862, allocations: 1.375 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006649/0.4869, allocations: 309.5 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005828/0.4875, allocations: 255.1 kB / 0.5345 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.4878, allocations: 104.5 kB / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.4882, allocations: 266.1 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.054e-05/0.4882, allocations: 10.25 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.4884, allocations: 129.8 kB / 0.5349 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.4887, allocations: 199.1 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.4888, allocations: 6.781 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.4889, allocations: 50.78 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.4891, allocations: 139.7 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.4893, allocations: 158.5 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.4898, allocations: 377.2 kB / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4898, allocations: 0 / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4899, allocations: 1.125 kB / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.4899, allocations: 0 / 0.5358 GB, free: 10.19 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.001086/0.491, allocations: 0.7328 MB / 0.5365 GB, free: 9.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.491, allocations: 9.469 kB / 0.5366 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.744e-05/0.4911, allocations: 55.09 kB / 0.5366 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.4919, allocations: 459.4 kB / 0.537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.4919, allocations: 2.719 kB / 0.5371 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.492, allocations: 11.36 kB / 0.5371 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.4922, allocations: 79.5 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4922, allocations: 0 / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4922, allocations: 1.125 kB / 0.5371 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.4922, allocations: 5.047 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.4923, allocations: 35.88 kB / 0.5372 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.4929, allocations: 378.2 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.4931, allocations: 102.8 kB / 0.5376 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.4933, allocations: 53.41 kB / 0.5377 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.4933, allocations: 5.172 kB / 0.5377 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.4935, allocations: 112.4 kB / 0.5378 GB, free: 8.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 4.418e-06/0.4936, allocations: 0 / 0.5378 GB, free: 8.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005331/0.4941, allocations: 208.8 kB / 0.538 GB, free: 8.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.4942, allocations: 78.48 kB / 0.5381 GB, free: 8.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4954, allocations: 1.049 MB / 0.5391 GB, free: 7.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.4954, allocations: 26.8 kB / 0.5391 GB, free: 7.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.4956, allocations: 242.8 kB / 0.5394 GB, free: 7.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.4957, allocations: 32.48 kB / 0.5394 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.4958, allocations: 25.75 kB / 0.5394 GB, free: 7.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4959, allocations: 370.5 kB / 0.5398 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/0.496, allocations: 30.7 kB / 0.5398 GB, free: 7.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.4961, allocations: 55.42 kB / 0.5398 GB, free: 7.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.4963, allocations: 95.09 kB / 0.5399 GB, free: 7.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4963, allocations: 4 kB / 0.5399 GB, free: 7.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002922/0.4966, allocations: 166.9 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4967, allocations: 5.25 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4967, allocations: 1.25 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4967, allocations: 1.469 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4968, allocations: 29.73 kB / 0.5401 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4968, allocations: 2.125 kB / 0.5401 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.383e-05/0.4969, allocations: 7.828 kB / 0.5401 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.497, allocations: 4.844 kB / 0.5401 GB, free: 6.902 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002544/0.4972, allocations: 230.3 kB / 0.5404 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.4973, allocations: 50.5 kB / 0.5404 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.4974, allocations: 59.33 kB / 0.5405 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4974, allocations: 1.375 kB / 0.5405 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4974, allocations: 0 / 0.5405 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4974, allocations: 1.438 kB / 0.5405 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.4979, allocations: 354 kB / 0.5408 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.498, allocations: 1.188 kB / 0.5408 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.498, allocations: 13.89 kB / 0.5408 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.498, allocations: 5.156 kB / 0.5408 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.498, allocations: 2.281 kB / 0.5408 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.4981, allocations: 1.125 kB / 0.5408 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4981, allocations: 0 / 0.5408 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.4985, allocations: 205.3 kB / 0.541 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.4987, allocations: 142.1 kB / 0.5412 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.4988, allocations: 14.45 kB / 0.5412 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.4989, allocations: 7.188 kB / 0.5412 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.4989, allocations: 12.45 kB / 0.5412 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.499, allocations: 4.594 kB / 0.5412 GB, free: 6.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001172/0.5002, allocations: 0.7806 MB / 0.542 GB, free: 5.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5002, allocations: 0 / 0.542 GB, free: 5.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.5005, allocations: 44.91 kB / 0.542 GB, free: 5.688 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001148/0.5017, allocations: 405.9 kB / 0.5424 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.502, allocations: 83.12 kB / 0.5425 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.502, allocations: 0 / 0.5425 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.5021, allocations: 35.39 kB / 0.5425 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.5026, allocations: 87.88 kB / 0.5426 GB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.5041, allocations: 0.8733 MB / 0.5434 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.5045, allocations: 0.8542 MB / 0.5443 GB, free: 3.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.5047, allocations: 58.94 kB / 0.5443 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.5047, allocations: 27.44 kB / 0.5444 GB, free: 3.797 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5047, allocations: 0 / 0.5444 GB, free: 3.797 MB / 398.1 MB Notification: Performance of Templates: time 0.008321/0.5131, allocations: 3.881 MB / 0.5482 GB, free: 15.92 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches