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.001034/0.001034, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1982/0.1982, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.001341, allocations: 67.89 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1218, allocations: 62.46 MB / 481.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.002965/0.1248, allocations: 1.718 MB / 483.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003956/0.1252, allocations: 151.6 kB / 483.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.1253, allocations: 3.938 kB / 483.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.368e-05/0.1254, allocations: 7.875 kB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.1254, allocations: 15.86 kB / 483.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.1258, allocations: 103.1 kB / 483.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1259, allocations: 103.7 kB / 483.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1261, allocations: 37.38 kB / 483.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.074e-05/0.1262, allocations: 39.84 kB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.1262, allocations: 39.78 kB / 483.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1263, allocations: 12 kB / 483.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.1263, allocations: 8 kB / 483.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.1263, allocations: 27.91 kB / 483.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.1264, allocations: 35.8 kB / 483.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.1265, allocations: 95.62 kB / 483.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1265, allocations: 4 kB / 483.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1265, allocations: 0 / 483.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1265, allocations: 0 / 483.8 MB, free: 2.164 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.0006772/0.1272, allocations: 443 kB / 484.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1273, allocations: 12.03 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.1273, allocations: 12.75 kB / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1276, allocations: 208.2 kB / 484.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1276, allocations: 4.375 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1276, allocations: 8.375 kB / 484.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.128, allocations: 152.6 kB / 484.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.128, allocations: 192 / 484.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.128, allocations: 7.938 kB / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.128, allocations: 4 kB / 484.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.1283, allocations: 107.8 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/0.129, allocations: 0.5398 MB / 485.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.1294, allocations: 146.4 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.1296, allocations: 52.84 kB / 485.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.1296, allocations: 7.984 kB / 485.5 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1297, allocations: 30.56 kB / 485.6 MB, free: 272 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.1297, allocations: 7.938 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005685/0.1302, allocations: 185.4 kB / 485.7 MB, free: 72 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.1303, allocations: 102.8 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1305, allocations: 145.2 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1305, allocations: 25.7 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.1306, allocations: 116 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.1306, allocations: 19.66 kB / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.1307, allocations: 33.64 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1308, allocations: 322.8 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1309, allocations: 51.95 kB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.1311, allocations: 88.23 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1314, allocations: 114.5 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1314, allocations: 0 / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003631/0.1318, allocations: 157.5 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1318, allocations: 8 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1318, allocations: 0 / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1318, allocations: 0 / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.132, allocations: 23.97 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.132, allocations: 7.938 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1321, allocations: 27.91 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1322, allocations: 4 kB / 487 MB, free: 14.76 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 9.515e-05/0.1323, allocations: 125.9 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.1323, allocations: 11.89 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.1323, allocations: 12.72 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1323, allocations: 0 / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1324, allocations: 0 / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1324, allocations: 3.938 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.1326, allocations: 213.5 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1326, allocations: 0 / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.1327, allocations: 23.97 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1327, allocations: 4 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1327, allocations: 0 / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1327, allocations: 0 / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1328, allocations: 0 / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.1332, allocations: 247.2 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.1332, allocations: 85.14 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1332, allocations: 4 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1334, allocations: 27.89 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.1334, allocations: 8 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1335, allocations: 7.938 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.992e-05/0.1335, allocations: 103.2 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1335, allocations: 4 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.1338, allocations: 20 kB / 487.8 MB, free: 13.78 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.491e-05/0.1339, allocations: 95.19 kB / 487.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003734/0.1342, allocations: 115.8 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1343, allocations: 4.125 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.1344, allocations: 59.89 kB / 488.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1347, allocations: 26.95 kB / 488.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.1352, allocations: 225.9 kB / 488.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1355, allocations: 0.7002 MB / 489.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.1355, allocations: 12.66 kB / 489.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.1356, allocations: 15.44 kB / 489.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1356, allocations: 0 / 489.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of Templates: time 0.003793/0.1394, allocations: 1.435 MB / 490.5 MB, free: 11.04 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 -s cvode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1)