Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.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.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds") translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009094/0.0009094, allocations: 97.58 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 202.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.7 MB / 247.5 MB, free: 9.332 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1923/0.1923, allocations: 46.18 MB / 345.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002372, allocations: 4 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1017, allocations: 63.56 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.001879/0.1036, allocations: 1.429 MB / 485.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000409/0.104, allocations: 163.6 kB / 485.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.1041, allocations: 4 kB / 485.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.1042, allocations: 3.938 kB / 485.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.1043, allocations: 3.938 kB / 485.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.1046, allocations: 91.77 kB / 485.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1048, allocations: 95.81 kB / 485.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1049, allocations: 37.33 kB / 485.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/0.105, allocations: 27.91 kB / 485.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.105, allocations: 35.78 kB / 485.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1051, allocations: 4 kB / 485.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.1051, allocations: 7.938 kB / 485.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.1051, allocations: 15.92 kB / 485.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.1052, allocations: 61.44 kB / 485.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.1053, allocations: 63.86 kB / 485.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1053, allocations: 0 / 485.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1053, allocations: 0 / 485.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1053, allocations: 4 kB / 485.8 MB, free: 2.074 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006718/0.106, allocations: 447.4 kB / 486.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1061, allocations: 8.875 kB / 486.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.1061, allocations: 12.75 kB / 486.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.1063, allocations: 194.7 kB / 486.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1063, allocations: 12.28 kB / 486.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.1064, allocations: 4.375 kB / 486.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.1068, allocations: 166.4 kB / 486.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1068, allocations: 4.188 kB / 486.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1068, allocations: 7.875 kB / 486.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1068, allocations: 7.984 kB / 486.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.1072, allocations: 135.8 kB / 486.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007404/0.108, allocations: 0.5594 MB / 487.3 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.1084, allocations: 166.5 kB / 487.5 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.1087, allocations: 76.84 kB / 487.5 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1087, allocations: 0 / 487.5 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1087, allocations: 34.56 kB / 487.6 MB, free: 80 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.1087, allocations: 0 / 487.6 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007122/0.1094, allocations: 233.5 kB / 487.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.1095, allocations: 106.8 kB / 487.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1096, allocations: 140.3 kB / 488 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1097, allocations: 29.7 kB / 488.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.1097, allocations: 108.1 kB / 488.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.1098, allocations: 19.66 kB / 488.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.1098, allocations: 21.7 kB / 488.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1099, allocations: 322.8 kB / 488.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.1101, allocations: 67.94 kB / 488.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.1103, allocations: 96.25 kB / 488.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.1107, allocations: 138.5 kB / 488.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1107, allocations: 0 / 488.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004594/0.1112, allocations: 189.9 kB / 489 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1112, allocations: 4 kB / 489 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1112, allocations: 11.94 kB / 489 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1113, allocations: 0 / 489 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1114, allocations: 39.91 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1114, allocations: 4.062 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.1116, allocations: 43.81 kB / 489.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1116, allocations: 0 / 489.1 MB, free: 14.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (lessEqualThreshold.y,lessThreshold.y,greaterEqualThreshold.y,greaterThreshold.y) * 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.0001003/0.1117, allocations: 121.8 kB / 489.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.1118, allocations: 11.91 kB / 489.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.1118, allocations: 16.7 kB / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1118, allocations: 0 / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1118, allocations: 0 / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1118, allocations: 3.938 kB / 489.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.1121, allocations: 205.6 kB / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1121, allocations: 3.938 kB / 489.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.1122, allocations: 31.97 kB / 489.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1122, allocations: 0 / 489.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1122, allocations: 0 / 489.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1123, allocations: 0 / 489.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1123, allocations: 3.938 kB / 489.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.1127, allocations: 267.3 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.1128, allocations: 96.95 kB / 489.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1128, allocations: 0 / 489.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.113, allocations: 31.97 kB / 489.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.1131, allocations: 11.98 kB / 489.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1131, allocations: 7.938 kB / 489.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.731e-05/0.1132, allocations: 110.2 kB / 490 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1132, allocations: 0 / 490 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1134, allocations: 16 kB / 490 MB, free: 13.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (greaterThreshold.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 9.795e-05/0.1135, allocations: 95.25 kB / 490.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004653/0.114, allocations: 143.8 kB / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.114, allocations: 128 / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.1142, allocations: 79.89 kB / 490.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1146, allocations: 15.98 kB / 490.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.1152, allocations: 298.8 kB / 490.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.1154, allocations: 0.6971 MB / 491.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.1155, allocations: 15.42 kB / 491.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of SimCode: time 1.734e-06/0.1155, allocations: 3.938 kB / 491.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Templates: time 0.002974/0.1185, allocations: 1.398 MB / 492.8 MB, free: 10.63 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1)