Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001048/0.001048, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.327/1.327, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001751/0.001751, allocations: 107.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2051/0.2051, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.721e-05, allocations: 6.656 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.5063, allocations: 75.74 MB / 481.4 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.5067, allocations: 67.64 kB / 481.5 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01105/0.5178, allocations: 3.916 MB / 485.4 MB, free: 18.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5178, allocations: 3.875 kB / 485.4 MB, free: 18.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.5178, allocations: 4 kB / 485.4 MB, free: 18.14 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003899/0.5182, allocations: 411 kB / 485.8 MB, free: 17.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5183, allocations: 7.781 kB / 485.8 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.5183, allocations: 11.75 kB / 485.9 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.5186, allocations: 197.8 kB / 486 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5186, allocations: 7.719 kB / 486.1 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.5186, allocations: 0 / 486.1 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.5187, allocations: 51.16 kB / 486.1 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.5188, allocations: 4 kB / 486.1 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5188, allocations: 0 / 486.1 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5188, allocations: 0 / 486.1 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.597e-05/0.5188, allocations: 15.19 kB / 486.1 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.5192, allocations: 292.7 kB / 486.4 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.5194, allocations: 49.48 kB / 486.5 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.5194, allocations: 8.703 kB / 486.5 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.5195, allocations: 4 kB / 486.5 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.5196, allocations: 61.14 kB / 486.5 MB, free: 17.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.5196, allocations: 0 / 486.5 MB, free: 17.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004146/0.52, allocations: 112.1 kB / 486.6 MB, free: 17.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5201, allocations: 51.41 kB / 486.7 MB, free: 17.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.5202, allocations: 157.6 kB / 486.8 MB, free: 16.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.5203, allocations: 33.58 kB / 486.9 MB, free: 16.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.5203, allocations: 101.1 kB / 487 MB, free: 16.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.5203, allocations: 13.72 kB / 487 MB, free: 16.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.5203, allocations: 3.938 kB / 487 MB, free: 16.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.5204, allocations: 316.8 kB / 487.3 MB, free: 16.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.5205, allocations: 23.12 kB / 487.3 MB, free: 16.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.5205, allocations: 25.28 kB / 487.3 MB, free: 16.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.537e-05/0.5206, allocations: 59.27 kB / 487.4 MB, free: 16.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.5206, allocations: 0 / 487.4 MB, free: 16.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001538/0.5207, allocations: 125.9 kB / 487.5 MB, free: 16.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.5208, allocations: 42.72 kB / 487.6 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5208, allocations: 0 / 487.6 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5208, allocations: 0 / 487.6 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.296e-05/0.5209, allocations: 13.52 kB / 487.6 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5209, allocations: 3.953 kB / 487.6 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.5209, allocations: 5.625 kB / 487.6 MB, free: 16.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5209, allocations: 3.844 kB / 487.6 MB, free: 16.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.521, allocations: 108.7 kB / 487.7 MB, free: 16.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.521, allocations: 9.375 kB / 487.7 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.5212, allocations: 94.56 kB / 487.8 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.5212, allocations: 1.062 kB / 487.8 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5212, allocations: 0.9375 kB / 487.8 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.5212, allocations: 7.891 kB / 487.8 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.5216, allocations: 350.9 kB / 488.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5217, allocations: 0 / 488.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.5217, allocations: 10.22 kB / 488.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5217, allocations: 3.938 kB / 488.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.5217, allocations: 5.406 kB / 488.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5217, allocations: 3.953 kB / 488.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5217, allocations: 1.5 kB / 488.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.5219, allocations: 173.3 kB / 488.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.5219, allocations: 91.09 kB / 488.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.522, allocations: 1.406 kB / 488.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.833e-05/0.522, allocations: 1.406 kB / 488.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.5221, allocations: 14.77 kB / 488.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.5221, allocations: 6.656 kB / 488.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.745e-05/0.5222, allocations: 130.3 kB / 488.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5222, allocations: 0 / 488.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.5224, allocations: 33.88 kB / 488.6 MB, free: 15.53 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000693/0.5231, allocations: 334.8 kB / 489 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.5233, allocations: 110.3 kB / 489.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5233, allocations: 3.938 kB / 489.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.5233, allocations: 19.34 kB / 489.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.5236, allocations: 21.95 kB / 489.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.5239, allocations: 136.9 kB / 489.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.5241, allocations: 0.7 MB / 489.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.13e-05/0.5242, allocations: 13.61 kB / 490 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.5242, allocations: 17.12 kB / 490 MB, free: 14.45 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5242, allocations: 0 / 490 MB, free: 14.45 MB / 330.7 MB Notification: Performance of Templates: time 0.0038/0.528, allocations: 1.511 MB / 491.5 MB, free: 14.27 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)