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.001244/0.001244, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1881/0.1881, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 74.39 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09468, allocations: 62.45 MB / 481.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.002659/0.09738, allocations: 1.714 MB / 483.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003437/0.09774, allocations: 151.5 kB / 483.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.09782, allocations: 4 kB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.09787, allocations: 11.86 kB / 483.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.09793, allocations: 11.86 kB / 483.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.09823, allocations: 107.7 kB / 483.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.09838, allocations: 103.8 kB / 483.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.0985, allocations: 41.31 kB / 483.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.058e-05/0.09857, allocations: 35.91 kB / 483.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.09862, allocations: 39.78 kB / 483.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.09865, allocations: 8 kB / 483.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.09867, allocations: 8 kB / 483.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.09871, allocations: 31.89 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.09876, allocations: 39.73 kB / 483.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.09887, allocations: 83.7 kB / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.09889, allocations: 7.984 kB / 483.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.0989, allocations: 7.938 kB / 483.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.0989, allocations: 3.938 kB / 483.8 MB, free: 2.141 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.0005867/0.0995, allocations: 439.1 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.09953, allocations: 8.031 kB / 484.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.09957, allocations: 12.75 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.09979, allocations: 208.2 kB / 484.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.0998, allocations: 4.375 kB / 484.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.09982, allocations: 4.375 kB / 484.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.1001, allocations: 156.9 kB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1002, allocations: 192 / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1002, allocations: 7.938 kB / 484.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1002, allocations: 0 / 484.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.1005, allocations: 115.8 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.1011, allocations: 0.5437 MB / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.1014, allocations: 130.5 kB / 485.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.1016, allocations: 60.83 kB / 485.5 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1016, allocations: 4.062 kB / 485.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.1017, allocations: 30.56 kB / 485.5 MB, free: 260 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1017, allocations: 4 kB / 485.5 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005376/0.1022, allocations: 185.4 kB / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.1023, allocations: 110.8 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1024, allocations: 141.2 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1024, allocations: 25.7 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.1025, allocations: 112 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1025, allocations: 23.66 kB / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.1026, allocations: 25.7 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.1026, allocations: 326.8 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.1028, allocations: 47.95 kB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.103, allocations: 96.11 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.1033, allocations: 106.8 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1033, allocations: 0 / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003552/0.1037, allocations: 161.4 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1037, allocations: 8.062 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1037, allocations: 0 / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1037, allocations: 3.984 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1039, allocations: 31.91 kB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1039, allocations: 0 / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.104, allocations: 35.84 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.104, allocations: 7.984 kB / 487 MB, free: 14.73 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 8.615e-05/0.1041, allocations: 121.8 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.1041, allocations: 7.906 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.1042, allocations: 12.72 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1042, allocations: 0 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1042, allocations: 0 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1042, allocations: 7.938 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1044, allocations: 205.5 kB / 487.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1044, allocations: 0 / 487.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1045, allocations: 27.91 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1045, allocations: 4 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1046, allocations: 0 / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1046, allocations: 0 / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1046, allocations: 0 / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1049, allocations: 247.3 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.105, allocations: 88.95 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.105, allocations: 3.984 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1052, allocations: 23.97 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.1052, allocations: 4 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.1052, allocations: 11.92 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.373e-05/0.1053, allocations: 103.3 kB / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1053, allocations: 0 / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1055, allocations: 20 kB / 487.8 MB, free: 13.77 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 8.576e-05/0.1056, allocations: 95.19 kB / 487.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.106, allocations: 115.9 kB / 488 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.106, allocations: 128 / 488 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1062, allocations: 64.08 kB / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.1065, allocations: 23.92 kB / 488.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.1069, allocations: 221.9 kB / 488.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1071, allocations: 0.7041 MB / 489 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.1072, allocations: 8.672 kB / 489.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.1072, allocations: 15.42 kB / 489.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1072, allocations: 0 / 489.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of Templates: time 0.003409/0.1107, allocations: 1.449 MB / 490.5 MB, free: 11.02 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 gbode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1)