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.001157/0.001157, allocations: 115.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2879, allocations: 62.43 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.002857/0.2908, allocations: 1.715 MB / 0.5333 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004279/0.2912, allocations: 171.2 kB / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.2913, allocations: 0 / 0.5335 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.546e-05/0.2914, allocations: 7.875 kB / 0.5335 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.2914, allocations: 14.69 kB / 0.5335 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.2918, allocations: 96.61 kB / 0.5336 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.2919, allocations: 110.2 kB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.292, allocations: 33.75 kB / 0.5337 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.2921, allocations: 48.28 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.2922, allocations: 40.03 kB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.2922, allocations: 12.23 kB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/0.2923, allocations: 8.25 kB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.2923, allocations: 20.05 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.2923, allocations: 44.05 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.2925, allocations: 96.19 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2925, allocations: 0 / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2925, allocations: 0 / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2925, allocations: 0 / 0.534 GB, free: 11.75 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006258/0.2931, allocations: 442.5 kB / 0.5344 GB, free: 11.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2932, allocations: 12.25 kB / 0.5344 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.2932, allocations: 15.62 kB / 0.5344 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2935, allocations: 203 kB / 0.5346 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2935, allocations: 7.125 kB / 0.5346 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.2935, allocations: 4.5 kB / 0.5346 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.2939, allocations: 162.4 kB / 0.5348 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2939, allocations: 192 / 0.5348 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.2939, allocations: 5.312 kB / 0.5348 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2939, allocations: 2.75 kB / 0.5348 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.2943, allocations: 108.4 kB / 0.5349 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.2949, allocations: 0.5322 MB / 0.5354 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.2953, allocations: 145.5 kB / 0.5356 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.2955, allocations: 58.38 kB / 0.5356 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.2955, allocations: 1.062 kB / 0.5356 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2955, allocations: 35.69 kB / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.2955, allocations: 0 / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005715/0.2961, allocations: 185.5 kB / 0.5358 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.2962, allocations: 112.1 kB / 0.5359 GB, free: 9.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.2963, allocations: 135.6 kB / 0.5361 GB, free: 9.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.2963, allocations: 26.86 kB / 0.5361 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.2964, allocations: 105.7 kB / 0.5362 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2965, allocations: 29.83 kB / 0.5362 GB, free: 9.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.2965, allocations: 27.91 kB / 0.5363 GB, free: 9.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2966, allocations: 325.2 kB / 0.5366 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.2968, allocations: 51.95 kB / 0.5366 GB, free: 9.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.297, allocations: 85.23 kB / 0.5367 GB, free: 9.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.2973, allocations: 121.7 kB / 0.5368 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2973, allocations: 3.938 kB / 0.5368 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003762/0.2977, allocations: 156.6 kB / 0.537 GB, free: 9.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2977, allocations: 5.656 kB / 0.537 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2977, allocations: 0 / 0.537 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2978, allocations: 1.25 kB / 0.537 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.2979, allocations: 30.5 kB / 0.537 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2979, allocations: 1.031 kB / 0.537 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.2981, allocations: 32.16 kB / 0.537 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2981, allocations: 6.469 kB / 0.537 GB, free: 9.074 MB / 398.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.49e-05/0.2982, allocations: 127 kB / 0.5372 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.2983, allocations: 13.22 kB / 0.5372 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.2983, allocations: 15.3 kB / 0.5372 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2983, allocations: 0 / 0.5372 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2983, allocations: 4 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.2984, allocations: 87.45 kB / 0.5373 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.2984, allocations: 5.219 kB / 0.5373 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.2986, allocations: 30.94 kB / 0.5373 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.2986, allocations: 7.047 kB / 0.5373 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004606/0.2991, allocations: 234.5 kB / 0.5375 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004357/0.2995, allocations: 316.8 kB / 0.5378 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001719/0.2997, allocations: 63.09 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.726e-05/0.2998, allocations: 109.3 kB / 0.538 GB, free: 8.246 MB / 398.1 MB Notification: Performance of Backend: time 5.71e-07/0.2998, allocations: 0 / 0.538 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004992/0.3003, allocations: 136 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005765/0.3009, allocations: 0.6266 MB / 0.5387 GB, free: 7.535 MB / 398.1 MB Notification: Performance of Templates: time 0.004576/0.3055, allocations: 1.78 MB / 0.5405 GB, free: 6.629 MB / 398.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)